LasseRegin / Svm W Smo
Licence: mit
Simple implementation of a Support Vector Machine using the Sequential Minimal Optimization (SMO) algorithm for training.
Stars: ✭ 97
Programming Languages
python
139335 projects - #7 most used programming language
SVM
Simple implementation of a Support Vector Machine using the Sequential Minimal Optimization (SMO) algorithm for training.
Supported python versions:
- Python 2.7
- Python 3.4
Python package dependencies
Documentation
Setup model (following parameters are default)
from SVM import SVM
model = SVM(max_iter=10000, kernel_type='linear', C=1.0, epsilon=0.001)
Train model
model.fit(X, y)
Predict new observations
y_hat = model.predict(X_test)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].