GithubHelp home page GithubHelp logo

alirezakhayyatian / machine-learning-course-assignments Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 27.7 MB

Assignments of Machine Learning Graduate Course - Spring 2021

Jupyter Notebook 99.63% Python 0.37%
python adaboost clustering dbscan-algorithm deep-q-learning gradient-boosting kmeans-clustering knn-classification logistic-regression machine-learning naive-bayes-classifier random-forest-classifier regression reinforcement-learning roc-curve

machine-learning-course-assignments's Introduction

Machine-Learning-Course-Assignments

Assignments of Machine Learning Graduate Course under supervision of Dr. Ehsan Nazerfard - Spring 2021

HW1 :

problem1:

  • implementation of linear Regression with gradient descent algorithm
  • fitting polynomial line with different degrees on signal data (univariate)

plots:

Fitting Plots:

image

Pace Size vs Iterations plot :

image

Error plot of train and test for degree 7:

image

Problem2:

  • getting familiar with concepts such as: correlation, multivariate linear Regression, feature selection, Regularization, Normal Equation, ...

plot of Data:

image

Correlation Diagram:

image

Error vs Iterations:

image

Pace Size vs Iterations:

image

HW2 :

problem1:

  • implementaion of KNN on MNIST dataset and reporting accuracy, confusion matrix and plotting pictures.

part of Results:

image

problem2:

  • implementation of Naive Bayes Algorithm on Wine dataset, reporting accuracy using 6-fold-cross-validation and plotting ROC curve.

ROC curve:

image

problem3:

  • implementaion of Logistic Regression (one-vs-all) on MNIST dataset and plotting results.

part of Results:

image

HW3 :

problem1:

  • SVM using python libraries (linear, polynomial, RBF and sigmoid kernels)
  • reporting accuracy and F1-measure

problem2:

  • implementation of Ensemble methods: RandomForest, AdaBoost, Gradient Boosting
  • reporting accuracy and confusion Matrix.

HW4 :

problem1:

  • implementation of KMeans clustering Algorithm

Results on first dataset:

image

Results on second dataset:

image

Results on third dataset:

image

problem2:

  • implementation of DBScan clustering Algorithm
  • reporting purity measure

Results on first dataset:

image

Results on second dataset:

image

Results on third dataset:

image

problem3:

  • implementation of Hierarchical clustering Algorithm

Results:

image

problem4:

  • implementation of Reinforcement Learning (Deep Q Network) in Mountain Car Environment.

Plots:

image

image

image

machine-learning-course-assignments's People

Contributors

alirezakhayyatian avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.