(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
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
This is a step-by-step guide on getting started with Python as a total beginner.
(includes free resources and everything else you need to get started)
🧵👇
Before we begin, I want to congratulate you on your decision to learn how to code using Python.
I still remember how I wrote my first piece of code 6 years and all the amazing and cool things I've been able to do with it ever since.
(2 / 24)
Make sure to keep in mind that it is probably best for you to keep your expectations in check.
Don't expect to make AAA games or state of the art machine learning models in a week.
(3 / 24)
Programming is not something that you can learn in a single week, it takes consistent effort and dedication over time to get good at it.
With all that being said, let's dive straight in.
(4 / 24)
In order to write Python code, you'll need to install Python on your system.
Linux and macOS users can skip this step because they come pre-installed with Python.
Download link: https://t.co/KSZ4Qd6CNk
(5 / 24)
(includes free resources and everything else you need to get started)
🧵👇
Before we begin, I want to congratulate you on your decision to learn how to code using Python.
I still remember how I wrote my first piece of code 6 years and all the amazing and cool things I've been able to do with it ever since.
(2 / 24)
Make sure to keep in mind that it is probably best for you to keep your expectations in check.
Don't expect to make AAA games or state of the art machine learning models in a week.
(3 / 24)
Programming is not something that you can learn in a single week, it takes consistent effort and dedication over time to get good at it.
With all that being said, let's dive straight in.
(4 / 24)
In order to write Python code, you'll need to install Python on your system.
Linux and macOS users can skip this step because they come pre-installed with Python.
Download link: https://t.co/KSZ4Qd6CNk
(5 / 24)
More from Machine learning
Starting a new project using #Angular? Here is a list of all the stuff i use to launch my projects the fastest i can.
A THREAD 👇
Have you heard about Monorepo? I created one with all my Angular (and Nest) projects using https://t.co/aY5llDtXg8.
I can share A LOT of code with it. Ex: Everytime i start a new project, i just need to import an Auth lib, that i created, and all Auth related stuff is set up.
Everyone in the Angular community knows about https://t.co/kDnunQZnxE. It's not the most beautiful component library out there, but it's good and easy to work with.
There's a bunch of state management solutions for Angular, but https://t.co/RJwpn74Qev is by far my favorite.
There's a lot of boilerplate, but you can solve this with the built-in schematics and/or with your own schematics
Are you not using custom schematics yet? Take a look at this:
https://t.co/iLrIaHVafm
https://t.co/3382Tn2k7C
You can automate all the boilerplate with hundreds of files associates with creating a new feature.
A THREAD 👇
Have you heard about Monorepo? I created one with all my Angular (and Nest) projects using https://t.co/aY5llDtXg8.
I can share A LOT of code with it. Ex: Everytime i start a new project, i just need to import an Auth lib, that i created, and all Auth related stuff is set up.
Everyone in the Angular community knows about https://t.co/kDnunQZnxE. It's not the most beautiful component library out there, but it's good and easy to work with.
There's a bunch of state management solutions for Angular, but https://t.co/RJwpn74Qev is by far my favorite.
There's a lot of boilerplate, but you can solve this with the built-in schematics and/or with your own schematics
Are you not using custom schematics yet? Take a look at this:
https://t.co/iLrIaHVafm
https://t.co/3382Tn2k7C
You can automate all the boilerplate with hundreds of files associates with creating a new feature.