This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
$('#sidebarCollapse').on('click', function () { | |
$('#sidebar').toggleClass('active'); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (C) Abdalrahman Eweiwi, December 2013 | |
# License: BSD 3 clause | |
from scipy.spatial.distance import norm, cdist | |
import numpy as np | |
from sklearn import datasets, svm, metrics, cross_validation | |
import scipy.linalg as linalg | |
from sklearn.metrics.pairwise import linear_kernel,rbf_kernel,chi2_kernel | |
from sklearn.base import BaseEstimator, RegressorMixin |