Git Product home page Git Product logo

cse-343-machine-learning's Introduction

CSE-343-Machine-Learning

Assignments of the course

Assignment-1

scratch.py

Implemented Linear and Logistic regressions from scratch using only NumPy.

logisticSKlearn.py

Logistic regression implemented using Sklearn.

SGD_Sklearn.py

SGD implementation using Sklearn

EDA.txt

Conducted EDA on Bank Authentication Dataset (in datasets folder)

Assignment-2

Q1.py

Implemented SkLearn's PCA, SVD, Tsne. Did a stratified split and trained a logistic regression using Sklearn.

Q2.py

Used Bootstrapping on the Linear regression model to measure bias and variance of the model.

Q3.py

  • Implemented Gridsearch and K-cross validation from scratch and used it on Sklearn's Decision-Trees and GNB classifier.
  • Calculated Confusion matrix for binary and multiclass data and plotted their ROCs from scratch

Q4.py

Implemented Gaussian Naive Bayes Classifier from scratch using only NumPy library

Assignment-3

Q1.py

Implemented Multilayer Perceptron with parameters: -

  • n layers: Number of Layers (int)
  • layer sizes: an array of size n layers which contains the number of nodes in each layer. (array of int)
  • activation: activation function to be used (string)
  • learning rate: the learning rate to be used (float)
  • weight init: initialization function to be used
    • zero: Zero initialization
    • random: Random initialization with a scaling factor of 0.01
    • normal: Normal(0,1) initialization with a scaling factor of 0.01
  • batch size: batch size to be used (int)
  • num epochs: number of epochs to be used (int)

Q2.py

Used the MLP from Q1 on the MNIST dataset for various hyper-parameter settings

Q3.py

Used PyTorch's MLP for a dataset.

Q4.py

Used pre-trained Alexnet model from PyTorch.

cse-343-machine-learning's People

Contributors

saksham1210 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rookiexyz

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.