Last active
February 6, 2018 12:58
-
-
Save karlnapf/8f6444c40dad4010f3c0da02b2057a93 to your computer and use it in GitHub Desktop.
kwargs.cpp
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
#include <shogun/base/init.h> | |
#include <shogun/base/some.h> | |
#include <shogun/io/SerializableAsciiFile.h> | |
#include <shogun/kernel/Kernel.h> | |
#include <shogun/kernel/Kernel.h> | |
#include <shogun/lib/DynamicObjectArray.h> | |
#include <shogun/machine/KernelMachine.h> | |
#include <shogun/machine/KernelMachine.h> | |
using namespace shogun; | |
int main(int, char*[]) | |
{ | |
init_shogun_with_defaults(); | |
// setting objects | |
auto k = kernel("GaussianKernel"); | |
auto svm = kernel_machine("LibSVM"); | |
svm->put("kernel", k); | |
auto svm2 = kernel_machine("LibSVM"); | |
svm2->put("kernel", kernel("GaussianKernel")); | |
exit_shogun(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment