Intro To AI With Python
Intro To AI With Python
Python
Library opencv,
Dataset images sklearn
/ Excel Dataset
Output display
Laptop python Loan available
Algorithm or not
Methodology
• Input Image – Real time Camera / Static Image / Excel
Dataset
• Import Libraries
• Dataset Visualization
• processing of the data
• feature extraction
• Graphical View output
• Split Train and Test Data
• Machine learning Analysis
• Output Prediction
Dataset Analysis
Dataset Columns are called as Features, Dimensions,
Attributes, Variables, Parameters etc.
Balanced or Imbalanced Data.
Output Class or Label
Parameters
Check value counts of required parameters (Ex output)
Fill empty cells with Average value of that parameters.
Remove empty Cells.
Remove imbalanced data
Delete unwanted columns
Preprocessing the Data
ML require formatted data to start the training
process. We must prepare or format data in a certain
way so that it can be supplied as an input to ML
algorithms.
In our daily life, we deal with lots of data but this
data is in raw form. To provide the data as the input of
machine learning algorithms, we need to convert it
into a meaningful data.
In other simple words, we can say that before
providing the data to the machine learning algorithms
we need to preprocess the data.
Preprocessing Steps
Importing the useful packages import numpy, sklearn,
matplotlib etc.
Example Dataset online, library or download in excel csv
format.
Binarization all the values above 0.5(threshold value)
would be converted to 1 and all the values below 0.5 would be
converted to 0.
Mean Removal
Scaling
Normalization
Labeling the data
Train data & Test data
Input Image