Git Product home page Git Product logo

ds222_assignment2's Introduction

Logistic regression classifier implementation with L2 regularization for DBPedia dataset with 50 classes

Installation

Simply clone this repository via

git clone https://github.com/sobalgi/DS222_assignment2.git

Dependencies

  • Python with NumPy
  • tensorflow
  • h5py

This consists of 2 parts each included in separate folders.

cd part1_logreg_local
./train_n_log_accuracies.sh

To reproduce or run the In-Memory local implementation of logistic regression and generate logs.

‘part1_logreg_local’ folder has the code files and generated log files for In-Memory local implementation of logistic regression with L2 regularization.

cd part2_logreg_ps
./train_n_log_accuracies.sh

‘part2_logreg_ps’ folder has the codes for ASP, BSP and SSP SGD implementation of L2 regularized logistic regression and appropriate logs.

The detailed report is also included as ‘DS222_as2_report.pdf’

ds222_assignment2's People

Contributors

sobalgi avatar

Stargazers

 avatar

Watchers

James Cloos avatar

ds222_assignment2's Issues

some questions

sir,i can not find the files:DBPedia.full/full_test.txt and DBPedia.full/full_train.txt in ds222 assignment1.could you tell me where can i find them?

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.