- Implement the Machine Learning and Matplotlib training section of the w3schools website.
- A set of random numbers with three properties of length, width and weight for balloons and melons.
- Display the generated data in three dimensions.
- python visualization (case) fruit classification (banana and Apple war).
- Analysis an Online Retail data set to find out the problem in April.
- The eight countries with the highest number of covid cases in the fourth month of 2020.
- Draw a graph that shows the mortality rate in relation to the number of cases in Iran on different days.
- Write KNN(K Nearest Neighbors) algorithm from scratch then compare with sklearn KNeighborsClassifier.
- Working on weight-height Dataset on kaggle.
- use kNN to build a basic OCR (Optical Character Recognition) application.
- In this case we work on mnist(Modified National Institute of Standards and Technology dataset) numbers.
- result -> accuracy: 91.76
- Train kNN algorithm with Clownfish1 image and test it on another Clownfish image.
- written in Python using opencv, matplotlib.
Iris EDA2
- Doing kNN algorithm on sckit-learn Iris dataset with different k and plot the accuracy.
Abalone EDA2
- Doing kNN algorithm on Abalone Dataset and obtain the accuracy of the algorithm.
- NOTE: In this exercise, I solved the problem in the form of classification.
- NOTE: This problem is solved in form of regression in Assignment 37
- Drawing confusion matrix for the iris problem from last assignment.
- Creating continuous random data for students' study hours and their grades.
- Obtaining line slope by LLS methods. (formula and scipy library)
- Draw both of them in one figure.
- Implementing the LLS method on the Boston dataset from the Scikit-learn library.
- This database offers thirteen features per house, I chose 'CRIM' and 'TAX'.
- Lets scatter the data.
- Apply the LLS method on data and get the predicted-surface and plot it.
- Lets plot data and predicted-surface in one figure.
- Lets generate the three different figures from different views to see better.
- EDA2 on DigiKala's order dataset.
- Number of orders per month:
- Separate customers by city:
- Doing LLS algorithm on Abalone Dataset and calculate MAE, MSE, Huber, and Hinge Errors.
- QR Code reader written in python using opencv detectAndDecode method that can decode QR Codes and Barcodes.
- The climate of a particular city is recorded every hour during different years. So, weather information is recorded 24 times per day.
- Draw an output table on a chart.
- Teach a linear model3 on the above data using the perceptron algorithm
- Plot Loss and R2-score diagrams.
Titanic4
Algorithm | KNN | Perceptron | MLP (Multi Layer Perceptron) |
---|---|---|---|
Accuracy | 72.66% | 43.16% | 92.57% |
- solve Assignment39 with Multi Layer Perceptron.
epoch | 5 | 10 | 100 | 800 |
---|---|---|---|---|
Loss | 1.10 | 0.69 | 0.17 | 0.13 |
Footnotes
-
I am aware of linear model can not fit the data perfectly. This assignment solved with mlp in Assignment 41. ↩