Skip to content

Instantly share code, notes, and snippets.

@ngould
Created August 29, 2015 23:28
Show Gist options
  • Save ngould/09a236af202e0ab15653 to your computer and use it in GitHub Desktop.
Save ngould/09a236af202e0ab15653 to your computer and use it in GitHub Desktop.
sklearn-pmml test output (2015.08.29)
============================================================================= test session starts ==============================================================================
platform darwin -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
rootdir: /Users/nathangould/workspace/sklearn-pmml, inifile:
collected 9 items
sklearn_pmml/convert/test/test_decisionTreeClassifierConverter.py ...FF
sklearn_pmml/convert/test/test_derived_fields.py .
sklearn_pmml/convert/test/test_gradientBoostingConverter.py ..
sklearn_pmml/convert/test/test_randomForestConverter.py E
==================================================================================== ERRORS ====================================================================================
____________________________________________________ ERROR at setup of TestRandomForestClassifierParity.test_classification ____________________________________________________
@staticmethod
def init_jpmml():
result = subprocess.call(['mvn', '-q', 'clean', 'package', '-f', find_file_or_dir('jpmml-csv-evaluator')])
> assert result == 0, "Unable to package jpmml csv evaluator"
E AssertionError: Unable to package jpmml csv evaluator
E assert 1 == 0
sklearn_pmml/convert/test/jpmml_test.py:54: AssertionError
---------------------------------------------------------------------------- Captured stdout setup -----------------------------------------------------------------------------
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project jpmml-csv-evaluator: Fatal error compiling: invalid target release: 1.8 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
---------------------------------------------------------------------------- Captured stderr setup -----------------------------------------------------------------------------
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
=================================================================================== FAILURES ===================================================================================
________________________________________________________ TestDecisionTreeClassificationJPMMLParity.test_classification _________________________________________________________
self = <sklearn_pmml.convert.test.test_decisionTreeClassifierConverter.TestDecisionTreeClassificationJPMMLParity testMethod=test_classification>
def test_classification(self):
> jpmml_predictions = self.setup_jpmml_test()
sklearn_pmml/convert/test/jpmml_test.py:151:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
sklearn_pmml/convert/test/jpmml_test.py:108: in setup_jpmml_test
self.assertEqual(result, 0, 'Executing jpmml evaluator returned non zero result')
E AssertionError: Executing jpmml evaluator returned non zero result
----------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project jpmml-csv-evaluator: An exception occured while executing the Java class. sklearn.pmml.jpmml.JPMMLCSVEvaluator -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
----------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
____________________________________________________________ TestDecisionTreeRegressionJPMMLParity.test_regression _____________________________________________________________
self = <sklearn_pmml.convert.test.test_decisionTreeClassifierConverter.TestDecisionTreeRegressionJPMMLParity testMethod=test_regression>
def test_regression(self):
> jpmml_predictions = self.setup_jpmml_test()
sklearn_pmml/convert/test/jpmml_test.py:134:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
sklearn_pmml/convert/test/jpmml_test.py:108: in setup_jpmml_test
self.assertEqual(result, 0, 'Executing jpmml evaluator returned non zero result')
E AssertionError: Executing jpmml evaluator returned non zero result
----------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project jpmml-csv-evaluator: An exception occured while executing the Java class. sklearn.pmml.jpmml.JPMMLCSVEvaluator -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
----------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
================================================================= 2 failed, 6 passed, 1 error in 12.75 seconds =================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment