Application of ML
Application of ML
3
1. Data Collection-
• The type of data collected depends upon the type of desired project.
• Data may be collected from various sources such as files, databases etc
.
• The quality and quantity of gathered data directly affects the accuracy of the desired system.
4
2. Data Preparation-
In this stage,
• Data preparation is done to clean the raw data.
• Raw data may contain missing values, inconsistent values, duplicate instances etc.
In this stage,
• It depends upon the type of problem that needs to solved and the type of data we have.
• If the problem is to classify and the data is labeled, classification algorithms are used.
• If the problem is to perform a regression task and the data is labeled, regression algorithms are
used.
• If the problem is to create clusters and the data is unlabeled, clustering algorithms are used.
6
4. Training Model-
In this stage,
• The learning algorithm finds a mapping between the input and the output and generates the
model.
7
5. Evaluating Model-
In this stage,
• It allows to test the model against data that has never been used before for training.
• Metrics such as accuracy, precision, recall etc are used to test the performance.
• If the model does not perform well, the model is re-built using different hyper parameters.
8
6. Predictions-
In this stage,
• The built system is finally used to do something useful in the real world.