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
#16 - Do Billionaires Get Imposter Syndrome Too? [not-audio_url] [/not-audio_url]

Duration: 9:57
Have you ever felt out of place? Ever felt lost working towards a big goal wondering if you’ll make it?That’s likely imposter syndrome.In this episode, you’ll learn:* What I plan to ask a billionaire.* How we all suffer…
#15 - How to Be the CEO of Your Career as an Employee [not-audio_url] [/not-audio_url]

Duration: 10:53
You don’t need to run your own business to be successful.In fact, it’s easier to have the time and money freedom you want by being a top performing employee.In this episode you’ll learn:* That it’s more than OK to be “ju…
#14 - How to Keep Going When You're Stuck [not-audio_url] [/not-audio_url]

Duration: 9:21
Everyone hits a wall, do you keep iterating or do you quit?In this episode you'll hear:* How being consistent led to a parenting win* When I knew it was time to quit my previous career* How to trust the process and find…
#13 - Assume You Are Wrong and Learn From Everyone [not-audio_url] [/not-audio_url]

Duration: 8:20
Have you ever considered that your biggest mistake might be assuming you're always right?In this episode you’ll learn:* How Derek Sivers in the book Hell Yes or No assumes everything is his fault* Why you miss things whe…
#12 - How to Be Vulnerable and Slow Down Time [not-audio_url] [/not-audio_url]

Duration: 9:10
Is time flying by? Can you remember what you did last Wednesday? You have the power to slow down time. To remember any moment form your life. But it requires you to do some homework.In this episode you'll learn:* How rev…
#10 - How the Slow, Simple Path to Wealth Makes You Happier [not-audio_url] [/not-audio_url]

Duration: 9:46
For years, I chased the illusion of quick wealth, ignoring the slow, fulfilling journey right in front of me.In this episode you’ll learn:* The slow, simple path to building wealth through investing* How more money has d…
#9 - The Day a Dolphin Saved My Life and Made Me a Better Dad [not-audio_url] [/not-audio_url]

Duration: 8:15
It was just another typical morning of September surfing until a close encounter helped me understand what being a Dad meant.In this episode, you’ll hear:* How a group of dolphins gave us a warning* The moment of clarity…
#8 - How to Start a Podcast in 10 Minutes as a Part-Time Creator [not-audio_url] [/not-audio_url]

Duration: 9:40
The moment I hit 'publish' on my first podcast episode, I stepped into a world I never imagined.I had no idea sharing my thoughts into a microphone could be this much fun.If you like to write but it feels slow, or if you…