Piyal Banik Profile picture
Jul 1, 2021 11 tweets 4 min read Read on X
NumPy 🔥

It is a Linear Algebra Library for #Python, the reason it is so important for Data Science is that almost all of the libraries in the PyData Ecosystem rely on NumPy as one of their main building blocks👨‍🏫.

Here's everything you need🧵👇

#DataScience #100DaysOfCode
1⃣Numpy Arrays

NumPy arrays are the main way we use Numpy. Numpy arrays essentially come in two flavors: vectors and matrices. Vectors are strictly 1-d arrays and matrices are 2-d (but you should note a matrix can still have only one row or one column). Image
2⃣Built-in Methods

There are lots of built-in ways to generate Arrays
- zeros
- ones
- eye
- arange
- linspace Image
3⃣Random

Numpy also has lots of ways to create random number arrays:
- rand
- randn
- randint Image
4⃣Array Attributes and Methods

Let's discuss some useful attributes and methods of an array:
- shape
- reshape
- max
- min
- std
- var Image
5⃣Arithmetic

You can easily perform array with array arithmetic, or scalar with array arithmetic. Let's see some examples: Image
6⃣Universal Array Functions

Numpy comes with many universal array functions, which are essentially just mathematical operations you can use to perform the operation across the array. Let's show some common ones: Image
7⃣NumPy Indexing and Selection

- Bracket Indexing and Selection
- Indexing a 2D array (matrices) Image
For more visit the official site 👇

numpy.org
Credit for some of the above-mentioned code 👇

udemy.com/course/python-…
That's it for the thread 👋
A retweet for the first one would really mean a lot 🙏

Follow @PiyalBanik for more tweets on Data Science, Machine Learning, Python.

Feel free to DM.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Piyal Banik

Piyal Banik Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @PiyalBanik

Aug 17, 2021
#DataScience Project 4

Customer Segmentation

- Use Machine Learning to create a model that performs Customer Segmentation

Libraries Used
- Numpy
- Pandas
- Matplotlib
- Seaborn
- Scikit learn

Models Trained
- KMeans Clustering
- Hierarchical Clustering
Code for this project can be found here 👇

[Please do consider giving an upvote if you find this notebook to be useful 😀]

kaggle.com/piyalbanik/seg…
1. Business Understanding

The goal of this project is to divide customers into groups based on common characteristics in order to maximize the value of each customer to the business.
Read 13 tweets
Aug 15, 2021
3 remote Data Science and Machine Learning Internship opportunities which are open for all.

🧵👇 Image
1. Graduate Rotational Internship Program - The Sparks Foundation

The Graduate Rotational Internship Program is a unique offer for students and recent graduates to experience and join The Sparks Foundation.

Apply 👇
internship.thesparksfoundation.info
2. Omenda

Omdena AI projects are the best way to build sought-after data science and machine learning skills while solving real-world problems.

Apply 👇
omdena.com/projects/
Read 5 tweets
Aug 12, 2021
3 beginners level Machine Learning projects with code

- Regression
- Classification
- Clustering

🧵👇
Read 5 tweets
Aug 8, 2021
#DataScience Project 3

Best Suburb to Open a Cafeteria in Melbourne 🇦🇺

- Create a Machine Learning model which suggests a location to open a Cafe.

Libraries Used
- Numpy
- Pandas
- Matplotlib
- Scikit Learn
- BeautifulSoup
- Geocoder
- Folium

Model Used:
- K Means Clustering
Please Note: the main focus of this project was on data collection, visualization, and training a model. Did not involve data cleaning.

Code for this project 👇
github.com/Piyal-Banik/Me…
1. Business Understanding:

The main goal of this project is to collect and analyze data in order to select a location in Melbourne to open a Cafeteria. We want to help a business owner planning to open up a Cafe in a location by exploring better facilities around the Suburb.
Read 17 tweets
Jul 26, 2021
Data Science Pipeline

🧵👇
Acknowledgment:

- John Rollins, @IBM

- Data Science Methodology, @coursera
coursera.org/learn/data-sci…
1. Business Understanding: What is the problem that we are trying to solve?

- We should have clarity of what is the exact problem we are going to solve.

- Asking the right questions as a Data Scientist starts with understanding the goal of the business.
Read 13 tweets
Jul 25, 2021
#DataScience Project 1

Titanic – Machine Learning from Disaster

Use Machine Learning to create a model that predicts which passengers survived the Titanic shipwreck.

Libraries Used
- Numpy
- Pandas
- Seaborn
- Sickit-Learn

Final Model Chosen
- Decision Tree: 93.03% accuracy🔥
The data science methodology followed has been outlined by John Rollins, IBM

- Business Understanding
- Analytical Approach
- Data requirements
- Data collection
- Data Understanding
- Data Preparation
- Modeling
- Evaluation

Project Code 👇
github.com/Piyal-Banik/Ti…
1. Business Understanding

Given a passenger's information, how can we predict whether he/she survived the Titanic disaster?

2. Analytical Approach:

Our target variable is categorical [survived / not survived], and hence we need classification models for this task.
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(