I just built my first Neural Network: Here's my framework for learning in public

I just built my first Neural Network: Here's my framework for learning in public

Author: Second Brains and Soft Skills for Staff Engineers. Augment, Stay Human. October 19, 2024 Duration: 13:25

I recently joined a research team building time series Transformer models and have become infatuated with the field of deep learning.

As a former trader, turned data engineer, I am now trying to understand the AI side of things.

And this week I just hit my first significant milestone: building my first neural network from scratch, using no machine learning libraries.

Today, I want to share this milestone and offer you my framework for how I decided to learn deep learning in public.

(Here’s my GitHub repo and the XOR neural network).

The Key: Invest in the basics

Knowledge compounds over time.

When you understand the basics well, you gain the freedom and flexibility to explore more advanced concepts creatively.

You have a strong foundation to build upon.

Taking the time to stop your task and go look up something you don’t quite know, especially if it’s something foundational that you will see again, is an investment in your future self.

This is the key concept to understand to unlock the value of life long learning.

When you see the compounding effect of knowledge - you look for opportunities to know something well, to learn it deeply.

Slow down, and focus on the fundamentals.

Why I love learning in public

I've chosen to share my notes and code for this learning project on GitHub.

This "learning in public" approach is better than learning on your own, but it requires a little more time in sharing what you do. It offers several benefits:

1. Accountability: Sharing your work creates a forcing function, encouraging you to go the extra mile in understanding and polishing your knowledge.

2. Continuous improvement: When you know you'll be sharing your learnings regularly, you start to notice learning opportunities in your daily life.

3. Networking: By putting your work out there, you connect with like-minded individuals, potential mentors, and future colleagues. My previous writing actually played a role in landing me on my current AI research team.

4. Knowledge retention: Externalizing your notes, whether in a private second brain or a public GitHub repo, helps solidify your understanding and creates a valuable resource that gets exponentially more valuable as you use it.

My framework for learning in public

Inspired by Scott Young's book "Ultralearning," here’s my framework for difficult learning projects:

1. Set a big, exciting goal

Start with a project that genuinely excites you.

For me, it's building deep neural networks for financial data, leveraging my background in day trading.

Your goal should be challenging enough to push you out of your comfort zone but aligned with your interests and expertise.

2. Break it down into milestones

Divide your big goal into smaller, manageable milestones.

My first milestone was implementing a basic neural network from scratch to solve the XOR problem.

Having these intermediate goals helps maintain motivation and provides a sense of progress.

3. Focus on a few high-quality sources

Avoid information overload (and the stress that comes with it).

Choose 1-3 reliable resources and stick with them. Even when things get difficult.

Ignore everything else.

4. Balance theory with practice

Adopt a "just-in-time" learning approach instead of drowning in prerequisites.

Start with what excites you most, and fill in knowledge gaps as you encounter them. This approach maintains motivation while ensuring you still build a solid understanding as you go.

When you're not actively coding or building, practice active recall by explaining concepts in your own words.

This technique, inspired by the Feynman method, helps identify areas where your understanding is lacking.

But it also provides a sense of action when you are studying theory.

5. Be consistent

Practice daily, even if it's just for 5-30 minutes.

I aim for six days a week, taking Sundays off.

Promise yourself at least 5 minutes, this will get you past that initial wall of getting started.

My first neural network: A brief reflection

Implementing a neural network from scratch to solve the XOR problem was immensely satisfying.

While the network itself is simple, the process of building it deepened my understanding of the core concepts behind neural networks.

The journey wasn't always linear – I often found myself circling back to revisit concepts I didn't fully grasp at first. But this persistence paid off, and looking back, it's amazing to see how much I've learned in just a few weeks.

Again if you are interested in the actual path I took, follow my deep learning work on GitHub.

Start your own learning in public project

If there’s something you want to pursue, give this framework for learning in public a try.

* Start by identifying your exciting project and break it down into milestones.

* Find 1-3 resources, and focus on these.

* Commit to 5 minutes daily practice - balancing learning with doing.

Remember, knowledge compounds over time. The key is just to consistently build on what you have.

Thanks for reading and happy learning!



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit bitsofchris.com

In a world racing to automate everything, Bits of Chris: Augment, Stay Human offers a different, more human-centered conversation. This isn't about fearing technology but about thoughtfully integrating it to enhance our own capabilities and judgment. The core idea is Open Augmented Intelligence-a vision where tools amplify human potential without locking us into opaque, closed systems. Each episode explores practical strategies for building your "second brain" and honing the soft skills crucial for leadership, particularly for staff engineers and those navigating complex technical careers. You'll hear discussions on selecting tools, managing knowledge, and making strategic decisions that align with a future where individuals control their own data and intellectual processes. Weaving together themes from technology, business, and investing, the podcast provides a grounded perspective on staying relevant and effective. It’s for anyone who believes the best future is one where we use AI to augment our humanity, not replace it, fostering transparency and personal agency in an increasingly automated landscape. Tune in for a nuanced take on building a career and a mindset that remains resilient and distinctly human.
Author: Language: English Episodes: 47

Bits of Chris: Augment, Stay Human
Podcast Episodes
#26 - Investing is Simple, the Hardest Part is You [not-audio_url] [/not-audio_url]

Duration: 9:14
Simplicity + Consistency = Compounding WealthBut it’s hard to stay consistent when you’re a human.In this episode, you’ll learn:* The simple formula to investing wealth* How to stay consistent by automating and ignoring*…
#25 - Why Full-Time Employees Should Be Part-Time Creators [not-audio_url] [/not-audio_url]

Duration: 10:59
Full-Time Employees can indirectly grow their careers and by creating content Part-Time.Even if the content has nothing to do with your industry.Part-Time creators are free to explore, learn, and enjoy without the pressu…
#24 - Moving to the Lakehouse: From Hive to Iceberg [not-audio_url] [/not-audio_url]

Duration: 10:15
Change is hard.But it’s necessary.In this Data Engineering episode, you'll learn:* Hive tracks data as folders, Iceberg tracks data as files* How this key distinction enables Iceberg with powerful metadata operations* Wh…
#23 - A Personal Story About Regret [not-audio_url] [/not-audio_url]

Duration: 5:54
Today’s episode is a personal story about the night I met my wife.It’s a story I might use in a month at a Moth storytelling event. This is the first time I told it. This is a public episode. If you would like to discuss…
#22 - How to Be OK With Being You [not-audio_url] [/not-audio_url]

Duration: 9:47
You’ll never be that ideal version of yourself.You’ll never be able to do everything you want.Our time is finite, this is a good thing.We can be free to accept ourselves today and focus on what we feel is important.In th…
#21 - How to Turn Your Phone Addiction Into a Superpower [not-audio_url] [/not-audio_url]

Duration: 9:47
You know it’s a problem.But everyone else is the same way, so you ignore it.Turn your automatic habit into something that works for you.In this episode, you’ll learn:* How our culture today makes it hard to notice the pr…
#20 - An Interview with My 5 Year Old Daughter [not-audio_url] [/not-audio_url]

Duration: 9:11
I’m joined today by my daughter Sophia.In today’s episode, you’ll hear:* 5 jokes straight from Sophia’s brain* The hardest part about Kindergarten* Who her favorite stuffed animal is* What she wants for her birthday This…
#19 - Why I'm Teaching My Kids to Fail [not-audio_url] [/not-audio_url]

Duration: 9:53
I want my kids to fail.Making mistakes, experiencing defeat - these are things I want them to embrace. To go head first into. Life is a series of challenges. You will encounter setbacks.If you’re too afraid to take risk…
#18 - Knowing When to Quit on Your Dreams [not-audio_url] [/not-audio_url]

Duration: 10:51
You should quit.The biggest mistake you can make is staying stuck in a place you don’t actually want to be.Quitting is hard because it’s a recognition that one path isn’t working.Not quitting is the slow, grind of failur…
#17 - Wealth is What You Don't See [not-audio_url] [/not-audio_url]

Duration: 10:52
Most of the broke people I know drive Range Rovers.Having a high income doesn’t make you rich.In this episode, you’ll learn:* How the gap between income and expenses is the most important part of building wealth* Why you…