The Interactive Python notebooks can be opened using tools like Jupyter Notebooks or by opening .ipynb files in Github/browser
Install the required libraries using Pip such as
pip install sklearn
pip install pandas
pip install numpy
pip install matplotlib
Install the required libraries using install.packages or RStudio
Run the files using
or
Run in RStudio
![SVM Radial Basis Function RBF](https://camo.githubusercontent.com/224c84aced1f64e37af6ce99604c6d87699cf7355b6406f0e62afc86cc67ae4a/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f30323261663930632f5242462e737667)
Variation with C and Gamma
![SVM variations with C and Gamma](https://camo.githubusercontent.com/6cbd34d189b5221b795c549b7e1c1fa35b552aff4e9dac14607f82e9921f4490/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f30323261663930632f4566666563744f6647616d6d61416e64432e737667)
Tuning a linear SVM for Purpose
![SVC Types](https://camo.githubusercontent.com/606a7268559e1a8058200bc2d6a525501745258cb15a3ede495ce4cec3e81cef/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f30343031343437392f53564325323054797065732e737667)
Running algorithms to find the best parameters
![Grid Search](https://github.com/devssh/svm/raw/master/GridSearchResults.png)
![Grid Search](https://github.com/devssh/svm/raw/master/Mushroom%20dataset.png)
Principle Component Analysis
![Plot the data](https://camo.githubusercontent.com/bbb62bb1713b1629819ce0cecacdbce55e80d93d98cb7e73c465cc7815b41075/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f36353730336236322f5072696e6369706c65253230436f6d706f6e656e74253230416e616c797369732e737667)
![Kaggle Credit Card Fraud](https://github.com/devssh/svm/raw/master/Credit%20card.png)
True Positive Rate vs False Positive Rate on Credit Card data
![TPR FPR](https://camo.githubusercontent.com/eae46a3981343cfe1932d730a30c68387a76c3114ee0c903b57ae872c91c1964/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f61653831666664342f5450522d46505225323043757276652e737667)
Precision Recall on Credit Card data
![Precision Recall](https://camo.githubusercontent.com/e451d6cf9ee23dfbd13f3d4df4a4333379bcbcd27ccea8426c8e65311380d83a/68747470733a2f2f63646e2e7261776769742e636f6d2f6465767373682f73766d2f61653831666664342f507265636973696f6e526563616c6c43757276652e737667)
1. Dummy data and practise from Coursera - Machine Learning - University of Michigan
2. Kaggle datasets and competitions
Fork this on Github to make changes!