Created
February 7, 2018 18:03
-
-
Save karlnapf/066862c86fa0be2a84511a2f81b2964a to your computer and use it in GitHub Desktop.
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
RealMatrix matrix(1,2) | |
matrix[0,0] = 0.0 | |
matrix[0,1] = 0.1 | |
RealFeatures features() | |
features.put("feature_matrix", matrix) | |
Kernel k = kernel("GaussianKernel", log_width=2.0) | |
KernelMachine svm = kernel_machine("LibSVM", C1=1.1, kernel=k) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment