Professional Documents
Culture Documents
V.N.PALLY ,GANDIPET-500075
Accredited by NBA and NAAC
Affiliated to JNTUH, Approved by AICTE, New Delhi
• INTRODUCTION
• METHODOLOGY
• EXISTING SYSTEM
• PROPOSED SYSTEM
• SOFTWARE&HARDWARE REQUIREMENTS
• DATASET
• UML DIAGRAMS
• IMPLEMENTATION
• RESULT
• CONCLUSION
• FUTURE SCOPE
• REFERENCES
ABSTRACT
Dataset is harder to handle, predict and classify. So, using machine learning algorithm we can
easily predict and classify the data. we use the KNN algorithm for the classification purpose and
linear regression for prediction purpose. using this algorithm, we can classify the test datapoint
into several classes and also, we visualized all the data points using various plot. We have taken
the IRIS dataset of flower with three unique types of Iris flower that is Setosa, Versicolor and
Virginica with four features of flower and we can predict the type of the test flower using linear
regression and K Nearest Neighbour algorithm. we evaluating and applying the KNN algorithm
and linear regression on Iris dataset.
INTRODUCTION
• Machine learning is about prediction on unseen data or testing data. In
machine learning a computer first learn to perform a task by training
dataset. Then the computer perform the same task with the testing data . In
Supervised learning we pass both input and output data and the result is
already known. Supervised learning is of two types Classification based and
Regression based.we are using classification based supervised learning.
KNN is a simple algorithm that stores all available cases and classifies
based on a similarity measures.
• The implementation of the model includes six basic steps of machine
learning that are:
1. Collect data/prepare data
2. Choose algorithm.
3. Creating object of the model
4.Train the model by training dataset
5. Making prediction on unseen data or testing data
6. Evaluation of the model.
• The dataset contain 150 Samples of data that has 3 classes (setosa,
versicolor, virginica) each contain 50 samples. To train the machine we split
the dataset into two Parts training and testing dataset, then the machine will
train by training dataset and then it will test on testing dataset. Now we will
evaluate the model weather it recognize the iris species accurately or not.
• Preprocess Dataset
• Make Prediction
• Iris Graph
SOFTWARE REQUIREMENTS
OPERATING SYSTEM : Windows 7,Windows 8, (or higher versions)
HARDWARE REQUIREMENTS
PROCESSOR : Pentium 3 (or higher versions)
RAM : 1GB RAM and higher
• Petal width
• Sepal length
• Sepal width
UML DIAGRAMS
A UML diagram is a diagram based on the Unified Modeling Language with the purpose of visually
representing a system along with its main actors, roles, actions, artifacts or classes, in order to better
• CLASS DIAGRAM
• SEQUENCE DIAGRAM
• ACTIVITY DIAGRAM
• COMPONENT DIAGRAM
CLASS DIAGRAM
We created our model based on Machine Learning but for better results we
can use Deep Learning Models. Also we created basic project we can add more
features for the better results. The number of records used in our dataset is less
so we also add more no. of records to our dataset to have accurate results.
REFERENCES
1. https://www.geeksforgeeks.org/supervised-unsupervised-learning/
2. https://medium.com/@adi.bronshtein/a-quick-introduction-to-k-nearest-
neighbors-algorithm-62214cea29c7
3. https://www.geeksforgeeks.org/k-nearest-neighbours/
THANK YOU