Which libraries do you really need to get started with Machine Learning and why?

๐Ÿงต๐Ÿ‘‡

First and foremost, make sure that you have nailed the fundamental concepts of Python because machine learning requires a lot of programming!

(2 / 19)
If you know these topics, then you are good to go with machine learning in Python

- Object-oriented programming in Python:Classes,Objects,Methods
- Lists & List functions
- List comprehension
- List slicing
- String formatting
- List,Dictionaries & Tuples

(3 / 19)
Now, let's understand what popular python machine learning libraries do.

We will talk about๐Ÿ‘‡
- TensorFlow (+ Keras)
- PyTorch
- Pandas
- Numpy
- Matplotlib
- SciKit Learn
- Seaborn

(4 / 19)
Now let's cover the libraries that you have to learn (at least the basics) for machine learning

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)
Dataframes allow you to work with data present in a spreadsheet.

Pandas help you make the data frame itself.

(6 / 19)
2. Numpy

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)
3. Matplotlib

Matplotlib is a library for plotting data into pie charts, bar charts, and whatever kinds of graphs you can imagine.

(8 / 19)
There is another library based on Matplotlib which is called Seaborn.

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)
It is definitely not mandatory to learn Seaborn at the beginning of your machine learning journey.

Use it when you need to.

(10 / 19)
Why is it important to learn these libraries?

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)
You must always remember that data largely dictates how well your machine learning model will perform.

Do not ignore data analysis and cleaning.

It is even more important than neural network!

(12 / 19)
Now we are left with TensorFlow, PyTorch, and Scikit Learn.

Let's talk about them.

(13 / 19)
TensorFlow allows you to make neural networks, anything from computer vision to natural language processing, TensorFlow will help you out. Keras allows you to make machine learning models and is heavily integrated with Tensorflow v2 (the latest version of TensorFlow).

(14 / 19)
- PyTorch does the same things as TensorFlow in a different syntax.

- Both PyTorch and TensorFlow are equally amazing libraries.

(15 / 19)
SciKit Learn

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)
Let's summarize.

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)
Step 4: Do a project from Kaggle where you can use these tools. (Pro-tip, look at notebooks and solutions from other people, this will help you in understanding how experienced people tackle certain problems)

(18 / 19)
The best tutorials to learn these would be from the freecodecamp YouTube channel, simply search for `framework name` freecodecamp.

They have some of the best machine learning tutorials out there.

(19 / 19)

More from Pratham Prasoon

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
Really enjoyed digging into recent innovations in the football analytics industry.

>10 hours of interviews for this w/ a dozen or so of top firms in the game. Really grateful to everyone who gave up time & insights, even those that didnt make final cut ๐Ÿ™‡โ€โ™‚๏ธ https://t.co/9YOSrl8TdN


For avoidance of doubt, leading tracking analytics firms are now well beyond voronoi diagrams, using more granular measures to assess control and value of space.

This @JaviOnData & @LukeBornn paper from 2018 referenced in the piece demonstrates one method
https://t.co/Hx8XTUMpJ5


Bit of this that I nerded out on the most is "ghosting" โ€” technique used by @counterattack9 & co @stats_insights, among others.

Deep learning models predict how specific players โ€” operating w/in specific setups โ€” will move & execute actions. A paper here: https://t.co/9qrKvJ70EN


So many use-cases:
1/ Quickly & automatically spot situations where opponent's defence is abnormally vulnerable. Drill those to death in training.
2/ Swap target player B in for current player A, and simulate. How does target player strengthen/weaken team? In specific situations?

You May Also Like

Master Thread of all my threads!

Hello!! ๐Ÿ‘‹

โ€ข I have curated some of the best tweets from the best traders we know of.

โ€ข Making one master thread and will keep posting all my threads under this.

โ€ข Go through this for super learning/value totally free of cost! ๐Ÿ˜ƒ

1. 7 FREE OPTION TRADING COURSES FOR


2. THE ABSOLUTE BEST 15 SCANNERS EXPERTS ARE USING

Got these scanners from the following accounts:

1. @Pathik_Trader
2. @sanjufunda
3. @sanstocktrader
4. @SouravSenguptaI
5. @Rishikesh_ADX


3. 12 TRADING SETUPS which experts are using.

These setups I found from the following 4 accounts:

1. @Pathik_Trader
2. @sourabhsiso19
3. @ITRADE191
4.


4. Curated tweets on HOW TO SELL STRADDLES.

Everything covered in this thread.
1. Management
2. How to initiate
3. When to exit straddles
4. Examples
5. Videos on