Reza Fazeli
/rezafazeli

Hi there! I write about tech/ai/ml and how to break into it; wealth creation and starting a side business; and productivity tools and techniques.
Reza Fazeli
4y ago
No one can possibly learn everything about every machine learning concept when preparing for an interview.
But you can build your own library of machine learning knowledge over time which you can then review when preparing for interviews.
The process is simple.
Open an intro to machine learning book (or online course) you know or have heard about. This can be any book that covers machine learning topics. Don't worry about finding the best resources out there. Any intro to machine learning book (or course) would work.
Look through the table of contents and find one topic that stands out to you. This can be a topic you've recently heard about or generally want to learn more about.
Let's say I pick up "Python Machine Learning" by Sebastian Raschka. I go through the table of contents and decide to learn about overfitting and regularization. I can either read the relevant chapter(s) from the book (if I own the book) or just read articles online (or watch YouTube videos) on this topic.
I then take notes on anything I learn and keep a list of any new topics I come across and want to further learn about. For example, I might come across the concept of bias and variance and their tradeoff when reading about overfitting. I would add this to the list of topics I want to learn about and the process continues.
This is a super useful rabbit hole to go down and helps you build your personal library of machine learning topics over time.
Now if you're invited to interview for a role focused on let's say recommender systems and neural networks, you can quickly search your library and review your notes on these topics and prepare for your interview.
Note: make sure you take digital notes using your favorite app (I like Notion) using labels and hashtags so you can search your notes.
Reza Fazeli
4y ago
James Clear recently wrote:
The more precisely you define the problem, the more easily you can find a solution. “I feel bad” can have a million causes. “I didn’t sleep much last night, and I haven’t exercised in a week” has a very straightforward answer.
Clearly specify the problem you want to work on.
Answer a few questions about your project to clarify the goal and outline of the project:
What problem am I solving?
Whose problem am I solving? (Think about potential practical applications)
What are the benefits of solving the problem?
What tools and technologies am I hoping to master by working on this problem?
What reactions am I hoping to generate in someone reading about my project?
Break down the problem into smaller pieces/phases and create a document to keep track of your project milestones.
Create a todo list and add items to it at the end of each session to know exactly where you left off and what needs to be done next.
Use Git to version control your code and push your changes to Github. This way you can use Github issues to keep track of your todo list.
If you’re struggling to come up with project ideas, check out this article https://rezafazeli.medium.com/a-simple-framework-for-generating-machine-learning-project-ideas-to-start-building-your-side-99423e44574 where I discuss a simple framework for generating project ideas.
I hope you found this helpful. Feel free to reach out if you have any questions https://linktr.ee/rezafazeli
Reza Fazeli
4y ago
I have been helping aspiring data scientists break into the industry for the past 3 years. It can sometimes be confusing to navigate your path to a data science role. There are lots of unknowns and questions at each step of the way. But there is one uncomfortable question that almost always comes up when candidates start interviewing with companies.
What if they ask me about compensation?
Compensation discussions (aka negotiations) are not as complicated and uncomfortable as most people imagine. In fact, there are simple frameworks you can follow to easily navigate these discussions with no trouble and achieve your desired outcome.
Companies can ask about your salary expectations at any stage of the process, sometimes at the very first session before they even know anything about you.
What are your salary expectations?
If you're asked about your salary expectations, your main goal is to avoid locking yourself to a number or even a range. If you give a number, you leave yourself no room for further negotiations. You're basically saying give me X dollars and I'm on board while the company could have afforded you for 1.5X dollars. Giving a range is not helpful either since they will almost always pick the lower end.
A simple framework for responding to this question
Here is how to steer the conversation:
"What are your salary expectations?"
Your first can be:
#1 "At this point, I'm more interested to see if there's a good fit. If we decide that we want to work together, then I'd be open to discussing the compensation."
They might push back and say "no, we need to have an idea of what number you have in mind". At this point, you can turn the question on them and ask:
#2 "What range do you have in mind for this role?"
If they still push back and ask for a number, then you can give them a number without committing to it. For example, you can say:
#3 "Given my background and experience and the requirements of the role as well as the cost of living in a large city like Toronto, I think $100K would be a good place to start."
With this response, while you mention $100K, you also signal that this is not your final number and it is merely something to get the discussions started.
See? That wasn't so hard. I hope you found it helpful. Feel free to reach out if you have any questions.
If you're interested in a career in tech/ai/ml or just want to level up your tech skills, feel free to reach out https://linktr.ee/rezafazeli
Reza Fazeli
4y ago
In March 2020, I decided to write online.
This decision was delayed for more than 6 months because I wanted to pick the perfect set of tools for setting up my blog. Once I was done with my research into available tools, I finally started aiweekly.github.io in September 2020.
Everything went well in the first month, and I was writing articles every week. But I stopped publishing after the second month. The project failed!
Then everything changed for me in 2022 with a few mindset shifts.
Here are 5 tips to help you start that one thing you've been delaying or restart projects you've started but failed to maintain.
Tip #1. Take action! Don't wait for the right moment.
There is only one thing you have control over — your actions.
You have partial control over your mental state, your thoughts, or your feelings. You only have full control over your actions.
"Mood follows action" — Rich Roll
Tip #2. Avoid analysis paralysis.
Don't look for the perfect app, tool, or process.
If you find yourself debating which app to use, this is your brain tricking you into procrastination.
Show your brain who’s in charge and take action today.
Tip #3. Continuously improve your process.
Start with a simple system and don't look for the perfect system from day one.
There is no perfect system. The key is to consistently improve your process over time.
Never settle. Keep experimenting and improving.
Tip #4. Make it a social activity.
Use the power of the internet to share your work and learn in public.
This can be intimidating at first but once you start sharing your work the whole process becomes fun.
You'll learn faster, get immediate feedback, and meet amazing people along the way.
Tip #5. Join a community.
You cannot rely on sporadic actions that depend on your mood or motivation.
Join a community that keeps you accountable to take action consistently every day.
Reza Fazeli
4y ago
"Code and media are permissionless leverage. They're the leverage behind the newly rich. You can create software and media that works for you while you sleep." - Naval Ravikant
There is no doubt that coding is a valuable skill. And like any other skill the more you do it, the more you learn.
Maybe you've tried learning to code in the past but had to quit halfway through. The key is to develop a coding habit that you maintain. I will introduce 4 strategies to make it easier to maintain your coding habit and produce tangible results by making small improvements every day.
1. Avoid anything that delays your coding
Don’t get stuck setting up a perfect environment.
If this is going to be a bottleneck, start with an online environment like replit.com that comes ready out-of-the-box. However, if you know how to set up your coding environment for your desired programming language then go ahead and set it up locally.
2. You learn by coding not watching tutorials
99% of tutorials don’t teach you anything beyond the basics.
Once you know the basics, forget the tutorials and start coding. You don’t need to complete every course, tutorial, or YouTube video before you’re ready to code.
3. Your coding sessions should be only about coding
You need to be 100% focused on writing code during your coding session. For this to happen you can do a few things beforehand:
Have an arsenal of ideas for coding sessions and keep adding to them
Pick an idea from your list and plan your session the night before
Some broad idea categories:
Solving programming problems on projecteuler.net or leetcode.com
Working on a personal side project
Contributing to an open-source project
Automating a process or task
Practicing a new concept by poking around different examples
Reading a tool's documentation and building something simple using the examples
4. Make coding a social activity
Use the power of the internet to share your work and learn in public.
This can be intimidating at first. You might be afraid of being judged if you start sharing in public. But once you start sharing your work, you start learning faster, you get immediate feedback from others, and people share their knowledge with you. You also get to meet amazing people online and build an online audience.
Reza Fazeli
4y ago
It took me multiple rounds of trial and error to settle on a list of tools that I use as my second brain.
These tools are all free, but unfortunately they’re not all open-source. I generally prefer open-source tools as you don't have to risk getting locked into a vendor which later on might charge for the service or remove features that you rely on.
The following tools are still useful although not all are open-source.
My second-brain tools
Markfolder https://markfolder.com/
This is a tool for bookmarking tweets and organizing them in folders. It is a handy tool with extensions for multiple browsers that allows you to organize your bookmarked tweets without subscribing to Twitter Blue.
Pocket https://getpocket.com/
Pockets lets you save articles on the web to read later.
Hypothesis https://web.hypothes.is/
Hypothesis is a free and open-source tool for annotating the web. Pocket also offers a web annotation feature but only to premium users. Hypothesis fills that void.
Google Play Books https://play.google.com/store/books
I use this for reading and annotating books. The highlights and notes for each book are saved in your Google Drive which you can later review on any device.
Momento https://app.momento.fm/
This is a smartphone app for annotating podcasts and saving your favourite moments in a podcast.
Daily idea dump sessions
At the end of the day I sit down for an hour for my daily idea dump session.
In this sessions I would go through the content I have saved that day using the tools in my toolbox. I then capture the ideas that resonate with me and use them as a starting point for creating my own content.
I hope this was useful and happy creating.
Reza Fazeli
4y ago
Let's assume you already have an idea for a machine learning project. How do make sure this is the righ project to work on?
We can illustrate this with an example. Let's say we want to build a board game recommendation system based on user ratings and board game descriptions or rules. We can evaluate whether this is a project worth exploring by answering a few questions.
Evaluate the feasibility and difficulty of the project
How feasible is this project? Has anyone worked on a similar project?
A quick Google search for "board game recommendation github" returns multiple related projects. Even if there were no projects specific to board games, googling "recommendation system github" returns lots of similar work in other areas.
This project seems very doable.
What kind of data do we need?
We need a dataset of user ratings of various board games and a dataset containing the descriptions and rules of those board games.
How difficult would it be to gather the dataset?
Given that we found many related projects, there are probably readily available datasets we can pull and get started. Let's assume relevant datasets were not available. In that case, we need to scrape this data from various resources. We can probably find websites that contain user ratings of board games and descriptions of those board games.
There is data available for this project out of the box. It's also feasible to build our own dataset if needed. So this is overall a feasible project. What's next?
Refine the problem statement
Ask yourself the following questions to come up with a clear problem statement:
What problem are you solving?
The problem of information overload when choosing a board game.
What does the final solution look like?
A web application that gathers user board game preferences manually or by logging user into a third-party website containing this information and returns game recommendations.
Who can benefit from the solution?
Board game stores can offer personalized recommendations to customers on their websites.
What are the benefits of using this solution?
Retailers and individual board game stores can send personalized offers to their customers and increase their sales. Board game cafes can use this tool to recommend board games to customers.
Kickstart the project
Once we have a clear problem statement, we can set up a Github repository for the project and initiate it with a README.md file containing the goal of the project and the motivation behind it as well as a plan of action.