Code for AI Weekly Blogs and Articles
The python script linear_regression.py implements Linear Regression algorithm from scratch on the dataset hwdata
Medium Article Link: https://kdagiit.medium.com/linear-regression-ba3fe4ba38c0
The python script logistic_reg.py implements Logistic Regression algorithm from scratch on the breast cancer dataset that can be loaded from sklearn.
Medium Article Link: https://kdagiit.medium.com/logistic-regression-60194ba582e8
The python script knn.py implements K-Nearest Neighbots algorithm from scratch on iris data imported from sklearn.
Medium Article Link: https://kdagiit.medium.com/k-nearest-neighbor-knn-algorithm-9a0eefe1f148
The python script svm.py implements Support Vector Machines algorithm with Linear Kernel from scratch on a dummy dataset consisting of 6 data points, 3 in each class.
Medium Article Link: https://kdagiit.medium.com/support-vector-machines-its-not-so-complicated-5ccf66278159
The python notebook Naive_Bayes_From_Scratch.py implement the naive bayes algorithm from scratch on the DiabetesRF.csv dataset and the python notebook Text_Classification.py implement classification task on the 20newsgroups dataset.
Medium Article Link: