Giter Site home page Giter Site logo

vinayak1998 / svm-devnagari-handwritten-character-recognition Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.89 MB

Solving the Character recognition problem as an SVM optimization problem using CVXOPT

License: MIT License

Python 99.31% Shell 0.69%
svm-classifier gaussian-kernel rbf-kernel cvxopt handwritten-character-recognition principal-component-analysis singular-value-decomposition dual-svm optimization-problem

svm-devnagari-handwritten-character-recognition's Introduction

SVM-Devnagari-Handwritten-Character-Recognition

Solving the Character recognition problem as an SVM optimization problem using CVXOPT

##Support Vector Machine

Name

svm - Run the executable program for SVM

Synopsis Part a./svm <part> <tr> <ts> <out> <c_value> Part b./svm <part> <tr> <ts> <out> <c_value> <gamma> Part c./svm <part> <tr> <ts> <out> <c_value> <gamma>

Description

This program will train svm model using given code on train data, make predictions on test data and write final predictions in given output file.

Options

-part
Part i.e. a/b/c.
-tr
File containing training data in csv format where 1st entry is the target
-ts
File containing test data in csv format where 1st entry is the target
-out
Output file for predictions. One value in each line. -c_value
C is a regularization parameter that controls the trade-off between maximizing the margin and minimizing the training error.
-gamma
Bandwidth parameter for RBF kernel

Example

./svm a DHC_train.csv DHC_test.csv output 10 ./svm b DHC_train.csv DHC_test.csv output 10 0.01 ./svm c DHC_train.csv DHC_test.csv output 10 0.01

Parts

  • Part A

    • Expressed the SVM dual problem using a linear kernel
    • Soft Margin formulation
  • Part B

    • Solved the dual SVM Problem using a RBF Kernel(Gaussian Kernel)
  • Part C

    • Implemented PCA algorithm using the SVD formulation.
    • Applied SVM with RBF Kernel on the projected data

Data

  • DHC_train.csv: Train data
  • DHC_test.csv: Test data

svm-devnagari-handwritten-character-recognition's People

Contributors

vinayak1998 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.