(2 / 19)
Which libraries do you really need to get started with Machine Learning and why?
🧵👇
(2 / 19)
- Object-oriented programming in Python:Classes,Objects,Methods
- Lists & List functions
- List comprehension
- List slicing
- String formatting
- List,Dictionaries & Tuples
(3 / 19)
We will talk about👇
- TensorFlow (+ Keras)
- PyTorch
- Pandas
- Numpy
- Matplotlib
- SciKit Learn
- Seaborn
(4 / 19)
1. Pandas
Pandas is a python library that allows you to store and read data from spreadsheets ( .csv, .xlsv files ) in structures called Dataframes.
(5 / 19)
Pandas help you make the data frame itself.
(6 / 19)
Numpy allows you to manipulate the data. It replaces python lists and does the same things, like list slicing for example. However numpy lists are much faster to execute than the default python lists.
(7 / 19)
Matplotlib is a library for plotting data into pie charts, bar charts, and whatever kinds of graphs you can imagine.
(8 / 19)
Seaborn is based on Matplotlib and allows you to visualize data with support for themes (as in color schemes like VS code themes) and more visualization options.
(9 / 19)
Use it when you need to.
(10 / 19)
In machine learning, you will have to work with a lot of messy data! A lot!
These libraries are essential for you so that you can manipulate and analyze data.
(11 / 19)
Do not ignore data analysis and cleaning.
It is even more important than neural network!
(12 / 19)
(14 / 19)
- Both PyTorch and TensorFlow are equally amazing libraries.
(15 / 19)
Scikit learn does a lot of things, from regression to classification, you name it.
It is a great tool to have when working on machine learning.
(16 / 19)
Step 1: Learn Python well.
Step 2: Learn the basics of Numpy, Pandas, and matplotlib.
Step 3: Learn either PyTorch or TensorFlow or SciKit learn at the start.
(17 / 19)
More from Pratham Prasoon
Do you want to learn the maths for machine learning but don't know where to start?
This thread is for you.
🧵👇
The guide that you will see below is based on resources that I came across, and some of my experiences over the past 2 years or so.
I use these resources and they will (hopefully) help you in understanding the theoretical aspects of machine learning very well.
Before diving into maths, I suggest first having solid programming skills in Python.
Read this thread for more
These are topics of math you'll have to focus on for machine learning👇
- Trigonometry & Algebra
These are the main pre-requisites for other topics on this list.
(There are other pre-requites but these are the most common)
- Linear Algebra
To manipulate and represent data.
- Calculus
To train and optimize your machine learning model, this is very important.
This thread is for you.
🧵👇
The guide that you will see below is based on resources that I came across, and some of my experiences over the past 2 years or so.
I use these resources and they will (hopefully) help you in understanding the theoretical aspects of machine learning very well.
Before diving into maths, I suggest first having solid programming skills in Python.
Read this thread for more
Are you planning to learn Python for machine learning this year?
— Pratham Prasoon (@PrasoonPratham) February 13, 2021
Here's everything you need to get started.
\U0001f9f5\U0001f447
These are topics of math you'll have to focus on for machine learning👇
- Trigonometry & Algebra
These are the main pre-requisites for other topics on this list.
(There are other pre-requites but these are the most common)
- Linear Algebra
To manipulate and represent data.
- Calculus
To train and optimize your machine learning model, this is very important.
This is a beginner's guide on mining cryptocurrencies.
🧵 👇🏻
Mining 101
Typically, when you transfer money using a service like Paypal, they take a small cut for facilitating the exchange.
In cryptocurrencies, people like you and me act as Paypal and facilitate exchanges of cryptocurrency. We get a cut for this just like Paypal did.
In order to make these transactions happen, our computers need to do some calculations which requires a lot of computational power.
A GPU or a Graphics Processing Unit which is typically marketed for gaming workloads can be used to mine cryptocurrencies.
Why do you need a GPU?
Today, there are so many miners that the "difficulty" of mining cryptocurrencies has skyrocketed, which basically means it takes a lot of computational power to mine crypto which GPUs can provide and CPUs cannot.
(❗ This is an oversimplification)
If you are interested in the inner workings of how blockchain and cryptocurrency, then I highly suggest that you read this thread by @oliverjumpertz
🧵 👇🏻
Mining 101
Typically, when you transfer money using a service like Paypal, they take a small cut for facilitating the exchange.
In cryptocurrencies, people like you and me act as Paypal and facilitate exchanges of cryptocurrency. We get a cut for this just like Paypal did.
In order to make these transactions happen, our computers need to do some calculations which requires a lot of computational power.
A GPU or a Graphics Processing Unit which is typically marketed for gaming workloads can be used to mine cryptocurrencies.
Why do you need a GPU?
Today, there are so many miners that the "difficulty" of mining cryptocurrencies has skyrocketed, which basically means it takes a lot of computational power to mine crypto which GPUs can provide and CPUs cannot.
(❗ This is an oversimplification)
If you are interested in the inner workings of how blockchain and cryptocurrency, then I highly suggest that you read this thread by @oliverjumpertz
What actually is a Blockchain?
— Oliver Jumpertz (@oliverjumpertz) February 16, 2021
Bitcoin is breaking record after record, but there must be more to the technology than just crypto, or not? Well, we can take a look at the underlying technology first to understand what it actually provides to us.
\U0001f9f5\u2b07\ufe0f
A list of my favourite tutorials for learning Python as a beginner.
🧵 👇🏻
All the tutorials below include the basics like installation, variables etc.
I've also listed out the key highlights of each tutorial so that it is easy for you decide which one to pick.
Before going through these tutorials I would highly suggest you to go through this thread if you are a complete
The Full Python Course from learn with Python with Rune
key highlights
- 17 part course
- Jupyter notebooks
- Free eBook included
Duration: 8
The Python Beginner's course on FreeCodeCamp's YouTube Channel.
Key highlights
- Building a casic calculator
- Mad Libs Game
- Slightly advanced concepts like inheritance, Classes etc.
Duration: 4
🧵 👇🏻
All the tutorials below include the basics like installation, variables etc.
I've also listed out the key highlights of each tutorial so that it is easy for you decide which one to pick.
Before going through these tutorials I would highly suggest you to go through this thread if you are a complete
Are you planning to learn Python for machine learning this year?
— Pratham (@PrasoonPratham) February 13, 2021
Here's everything you need to get started.
\U0001f9f5\U0001f447
The Full Python Course from learn with Python with Rune
key highlights
- 17 part course
- Jupyter notebooks
- Free eBook included
Duration: 8
The Python Beginner's course on FreeCodeCamp's YouTube Channel.
Key highlights
- Building a casic calculator
- Mad Libs Game
- Slightly advanced concepts like inheritance, Classes etc.
Duration: 4
More from Machine learning
10 PYTHON 🐍 libraries for machine learning.
Retweets are appreciated.
[ Thread ]
1. NumPy (Numerical Python)
- The most powerful feature of NumPy is the n-dimensional array.
- It contains basic linear algebra functions, Fourier transforms, and tools for integration with other low-level languages.
Ref: https://t.co/XY13ILXwSN
2. SciPy (Scientific Python)
- SciPy is built on NumPy.
- It is one of the most useful libraries for a variety of high-level science and engineering modules like discrete Fourier transform, Linear Algebra, Optimization, and Sparse matrices.
Ref: https://t.co/ALTFqM2VUo
3. Matplotlib
- Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
- You can also use Latex commands to add math to your plot.
- Matplotlib makes hard things possible.
Ref: https://t.co/zodOo2WzGx
4. Pandas
- Pandas is for structured data operations and manipulations.
- It is extensively used for data munging and preparation.
- Pandas were added relatively recently to Python and have been instrumental in boosting Python’s usage.
Ref: https://t.co/IFzikVHht4
Retweets are appreciated.
[ Thread ]
1. NumPy (Numerical Python)
- The most powerful feature of NumPy is the n-dimensional array.
- It contains basic linear algebra functions, Fourier transforms, and tools for integration with other low-level languages.
Ref: https://t.co/XY13ILXwSN
2. SciPy (Scientific Python)
- SciPy is built on NumPy.
- It is one of the most useful libraries for a variety of high-level science and engineering modules like discrete Fourier transform, Linear Algebra, Optimization, and Sparse matrices.
Ref: https://t.co/ALTFqM2VUo
3. Matplotlib
- Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
- You can also use Latex commands to add math to your plot.
- Matplotlib makes hard things possible.
Ref: https://t.co/zodOo2WzGx
4. Pandas
- Pandas is for structured data operations and manipulations.
- It is extensively used for data munging and preparation.
- Pandas were added relatively recently to Python and have been instrumental in boosting Python’s usage.
Ref: https://t.co/IFzikVHht4
This is a Twitter series on #FoundationsOfML.
❓ Today, I want to start discussing the different types of Machine Learning flavors we can find.
This is a very high-level overview. In later threads, we'll dive deeper into each paradigm... 👇🧵
Last time we talked about how Machine Learning works.
Basically, it's about having some source of experience E for solving a given task T, that allows us to find a program P which is (hopefully) optimal w.r.t. some metric
According to the nature of that experience, we can define different formulations, or flavors, of the learning process.
A useful distinction is whether we have an explicit goal or desired output, which gives rise to the definitions of 1️⃣ Supervised and 2️⃣ Unsupervised Learning 👇
1️⃣ Supervised Learning
In this formulation, the experience E is a collection of input/output pairs, and the task T is defined as a function that produces the right output for any given input.
👉 The underlying assumption is that there is some correlation (or, in general, a computable relation) between the structure of an input and its corresponding output and that it is possible to infer that function or mapping from a sufficiently large number of examples.
❓ Today, I want to start discussing the different types of Machine Learning flavors we can find.
This is a very high-level overview. In later threads, we'll dive deeper into each paradigm... 👇🧵
Last time we talked about how Machine Learning works.
Basically, it's about having some source of experience E for solving a given task T, that allows us to find a program P which is (hopefully) optimal w.r.t. some metric
I'm starting a Twitter series on #FoundationsOfML. Today, I want to answer this simple question.
— Alejandro Piad Morffis (@AlejandroPiad) January 12, 2021
\u2753 What is Machine Learning?
This is my preferred way of explaining it... \U0001f447\U0001f9f5
According to the nature of that experience, we can define different formulations, or flavors, of the learning process.
A useful distinction is whether we have an explicit goal or desired output, which gives rise to the definitions of 1️⃣ Supervised and 2️⃣ Unsupervised Learning 👇
1️⃣ Supervised Learning
In this formulation, the experience E is a collection of input/output pairs, and the task T is defined as a function that produces the right output for any given input.
👉 The underlying assumption is that there is some correlation (or, in general, a computable relation) between the structure of an input and its corresponding output and that it is possible to infer that function or mapping from a sufficiently large number of examples.