java -Xmx4g -cp .:weka.jar weka.Run .PCR -t /Users/mjh/Documents/Weka/CNIRS/gas_train.arff -T /Users/mjh/Documents/Weka/CNIRS/gas_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 09, 2016 4:01:54 AM com.github.fommil.jni.JniLoader liberalLoad INFO: successfully loaded /var/folders/nh/2yzwp0g119d794lrrfwkn9ym0000gp/T/jniloader5896122022400230804netlib-native_system-osx-x86_64.jnilib First non-zero component at 174. 1 or more at 400 Jun 09, 2016 4:01:55 AM com.github.fommil.jni.JniLoader load INFO: already loaded netlib-native_system-osx-x86_64.jnilib 1 0.33931645773540264 1.430770974387799 227 0.7286172186712401 1.110543074866927 114 0.8461814086578698 0.8204874575036373 58 0.8988253320284035 0.6695327189697667 30 0.9814892451468894 0.2962453858721225 16 0.9914409754648085 0.19805723871899286 9 0.9906493791898991 0.2066751193233472 Best number of components found was 9 weka.classifiers.functions.PCR@29774679 Time taken to build model: 2.6 seconds Time taken to test model on training data: 0.04 seconds === Error on training data === Correlation coefficient 0.9931 Mean absolute error 0.1463 Root mean squared error 0.1776 Relative absolute error 11.0632 % Root relative squared error 11.7266 % Total Number of Instances 50 === Error on test data === Correlation coefficient 0.9909 Mean absolute error 0.1971 Root mean squared error 0.229 Relative absolute error 16.0248 % Root relative squared error 14.9004 % Total Number of Instances 10