0% found this document useful (0 votes)
1 views

Machine Learning

Machine learning enables computers to perform tasks and make decisions autonomously, categorized into supervised and unsupervised approaches. The machine learning process involves data collection, transformation, modeling, and visualization, with tools like Scikit-learn facilitating model building and evaluation. Key concepts include classification, regression, and the importance of training and testing datasets for accurate predictions.

Uploaded by

jentlewrites01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Machine Learning

Machine learning enables computers to perform tasks and make decisions autonomously, categorized into supervised and unsupervised approaches. The machine learning process involves data collection, transformation, modeling, and visualization, with tools like Scikit-learn facilitating model building and evaluation. Key concepts include classification, regression, and the importance of training and testing datasets for accurate predictions.

Uploaded by

jentlewrites01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Machine Learning

Machine learning is the ability of a computer or a machine to carry out tasks or make decisions without being
explicitly programmed.
You train a machine to predict and monitor things on its own.

Types of Approach
Classification under Supervised
Regressed

# Get the notes and all orders stuff


matplotbit, seaborn#

Grouped into Supervised and Unsupervised.

Supervised learning, there is a labeled data.


Regression answers the how much? path or how many?.

Machine learning process:


Data collection
Data transformation
Data Modeling
Feature engineering
Modelling and visualization

Data science process


Load and clean Data
Exploratory data analysis
Feature Engineering
Model building
Model Evaluation and Visualization.

Scikit-learn is a package that comes with so many algorithms that allow you to build machine models and
evaluate the capacity to....
Clustering is grouping

#Think of a project, do a research, something that resonates with you#

Scikit learn has a series of data and packages.


e.g
train_test_split helps to learn on one thing and get trained in something you haven't seen before. Splitting
your data into two, using one part of it t train the model and use the other to test the model. Training set, as
well as the test set.

SVC - Support Vector

Target Name
Description

Most machine learning works with numeric.


You can import pandas to work with the data and play around with it.

Be familiar with the structure of sklearn. (from sklearn.)


#Read on models on sklearn#

Import the model


Load/ Initialize the model
Train your model - (We dont want the machine to cram, we want it to learn) the process of training is
called fit.
from sklearn.model_selection import train_test_split
X_train, y_train, X_test, y_test = train_test_split(X, y, train_size=0.7, random_state=42)
random_state is used to maintain the values, its like a constant used to produce the same result.
Predict the values.
To make this easier, scikit helps using accuracy score, to help check the values.
from sklearn.metrics import accuracy_score
pred is a short for prediction
True positive means that the result is not influenced
False positive means the result shows that its being influenced.
#Assignment#
- Write about Type 1 error and Type 2 errors
- Read on machine learning evaluation metrics for classification metrics and regression models
- Project
- How to google like a pro
- Using data visualization, build a decision tree
#Assignment#

df.groupby("A")["B"].mean().mean()
.count().reset_indxe().sort_values(by = 'A', ascending = false)

You might also like