Kaggle-Ranking of Kernels (Public Leaderboard):
| Method | Kaggle Accuracy |
|---|---|
| Linear-Regression | 0.60466 |
| SVM | 0.55866 |
| Kernel-Ridge-Regression | 0.61933 |
| Spectrum (k=6) | 0.62600 |
| Gappy (q=8, l=6) | 0.62866 |
| mismatch (m=1, k=8) | 0.65400 |
| mismatch (m=1, k=9) | 0.67333 |
Final Ranking
Private Leaderboard: 0.67733
(mismatch (m=1, k=9))
Dependencies: cvxopt, scipy, numpy
You can run main.py as:
python main.py
or with:
python main.py --dry
for validation. In the latter case it needs sciki-learn for train_test_split and accuracy_report.
All the submitted kaggle files are in folder predictions and all the logs from validation are in the folder logs.
You can find the extensive evaluation logs with the most promising of the tested kernel parameters and C from 2^{-2}, ..., 2^{2} in
The only kernel that is not in validation and in predictions and which has been implemented is the substring kernel, which
can be found at substring.py.
Files corresponding to kernels:
spectrum.pysvm.pyandgaussian.pygappy.pymismatch.pysubstring.py
Files corresponding to classifiers:
kernel_svm.pyridge_regression.pykernel_ridge_regression.py
Other files:
training.pycorresponds to all the train and predict pipeline, for all methods.classes.pyused to define base classes for kernels and classifiers.argparser.pyused to define the simple command line argument of dry.utils.pyused to define a thresholding function.