[mlpack-svn] r15497 - mlpack/conf/jenkins-conf/benchmark
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Jul 18 12:32:48 EDT 2013
Author: marcus
Date: Thu Jul 18 12:32:47 2013
New Revision: 15497
Log:
Add command to build the shogun K-Means methods.
Modified:
mlpack/conf/jenkins-conf/benchmark/Makefile
Modified: mlpack/conf/jenkins-conf/benchmark/Makefile
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/Makefile (original)
+++ mlpack/conf/jenkins-conf/benchmark/Makefile Thu Jul 18 12:32:47 2013
@@ -12,6 +12,7 @@
export MLPACK_BIN=/usr/local/bin/
export MATLAB_BIN=/opt/matlab/bin/
export WEKA_CLASSPATH=".:/opt/weka/weka-3-6-9:/opt/weka/weka-3-6-9/weka.jar"
+export SHOGUN_PATH=/opt/shogun/shogun-2.1.0-mod
ifeq ($(PYTHON_VERSION), 0)
$(error Python version 2.7 required which was not found)
@@ -50,3 +51,5 @@
scripts:
# Compile the java files for the weka methods.
javac -cp $(shell echo $(WEKA_CLASSPATH)) -d methods/weka methods/weka/src/*.java
+ # Compile the shogun K-Means (with initial centroids) Clustering method.
+ g++ -O0 methods/shogun/src/kmeans.cpp -o methods/shogun/kmeans -I$(SHOGUN_PATH)/include -L$(SHOGUN_PATH)/lib -lshogun
More information about the mlpack-svn
mailing list