Coder Social home page Coder Social logo

devssh / svm Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 25.0 31.35 MB

Learn to use Support Vector Machines in Python(sklearn) and R

Jupyter Notebook 99.79% R 0.10% Python 0.11%
support-vector-machines sklearn pandas python r grid-search cross-validation kaggle mushroom-classification credit-card-fraud

svm's Introduction

The Interactive Python notebooks can be opened using tools like Jupyter Notebooks or by opening .ipynb files in Github/browser

For Python3

Install the required libraries using Pip such as
pip install sklearn
pip install pandas
pip install numpy
pip install matplotlib

For R

Install the required libraries using install.packages or RStudio
Run the files using
R -f <filename>

or

Run in RStudio

RBF SVM

SVM Radial Basis Function RBF

Variation with C and Gamma

SVM variations with C and Gamma

Tuning a linear SVM for Purpose

SVC Types

Running algorithms to find the best parameters

Grid Search

Grid Search

Principle Component Analysis

Plot the data

Kaggle Credit Card Fraud

True Positive Rate vs False Positive Rate on Credit Card data

TPR FPR

Precision Recall on Credit Card data

Precision Recall

Sources

1. Dummy data and practise from Coursera - Machine Learning - University of Michigan

2. Kaggle datasets and competitions


Fork this on Github to make changes!

svm's People

Contributors

devssh avatar

Stargazers

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