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
// Immutable features | |
// linear model | |
- dot prod: | |
- pairs | |
- | |
- cov var matrix: there's a Feature operator => CovarView => matrix | |
- | |
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 "std_try.h" | |
#include <math.h> | |
using namespace Halide; | |
#define PI 3.14159 | |
/* | |
Interpolations | |
*/ |
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
// Compiling with g++ Shogun.cpp -lshogun -o shoguntest | |
#include <shogun/features/Labels.h> | |
#include <shogun/features/SimpleFeatures.h> | |
#include <shogun/kernel/GaussianKernel.h> | |
#include <shogun/classifier/svm/LibSVM.h> | |
#include <shogun/base/init.h> | |
#include <shogun/lib/common.h> | |
#include <shogun/io/SGIO.h> |