java -Xmx4g -cp .:weka.jar weka.Run .PCR -t /Users/mjh/Documents/Weka/CNIRS/yarn_train.arff -T /Users/mjh/Documents/Weka/CNIRS/yarn_test.arff [Weka] RPlugin can't be loaded because the environment variable R_HOME is not set. [Weka] RPlugin can't be loaded because the environment variable R_HOME is not set Comp # Correlation RMSE ###### ########### #### Jun 08, 2016 7:56:22 PM com.github.fommil.jni.JniLoader liberalLoad INFO: successfully loaded /var/folders/nh/2yzwp0g119d794lrrfwkn9ym0000gp/T/jniloader3627507637277301723netlib-native_system-osx-x86_64.jnilib Jun 08, 2016 7:56:23 PM com.github.fommil.jni.JniLoader load INFO: already loaded netlib-native_system-osx-x86_64.jnilib 2 0.9891394811917743 4.38364942962335 149 0.8950738657174424 14.678324670196039 76 0.9547461904154465 9.431912043923093 39 0.9582192682321777 9.039824211216676 21 0.9881385460422305 4.814390647916797 12 0.9999932363423911 0.10985875933021394 Best number of components found was 12 weka.classifiers.functions.PCR@29774679 Time taken to build model: 1.6 seconds Time taken to test model on training data: 0.01 seconds === Error on training data === Correlation coefficient 1 Mean absolute error 0.062 Root mean squared error 0.0799 Relative absolute error 0.2437 % Root relative squared error 0.2678 % Total Number of Instances 21 === Error on test data === Correlation coefficient 0.9999 Mean absolute error 0.0937 Root mean squared error 0.1215 Relative absolute error 0.9832 % Root relative squared error 1.0411 % Total Number of Instances 7