You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing the jpmml-android example app and realize that model.pmml file was not serialized. I'd like to know how can I serialize the .pmml file inside Android or even use another method. Is there any way to do that? Is there any step-by-step?
I'm using gradle to compile the librarys inside pom.xml file from the example app:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: jpmml.org.androidm, PID: 17753
java.lang.RuntimeException: java.io.FileNotFoundException: model.pmml.ser
at jpmml.org.androidm.MainActivity$1.onClick(MainActivity.java:37)
at android.view.View.performClick(View.java:5246)
at android.widget.TextView.performClick(TextView.java:10565)
at android.view.View$PerformClick.run(View.java:21200)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6946)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Caused by: java.io.FileNotFoundException: model.pmml.ser
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:323)
at android.content.res.AssetManager.open(AssetManager.java:297)
at jpmml.org.androidm.MainActivity.createEvaluator(MainActivity.java:75)
at jpmml.org.androidm.MainActivity.access$000(MainActivity.java:18)
at jpmml.org.androidm.MainActivity$1.onClick(MainActivity.java:35)
at android.view.View.performClick(View.java:5246)
at android.widget.TextView.performClick(TextView.java:10565)
at android.view.View$PerformClick.run(View.java:21200)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6946)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Application terminated.
I'm testing the jpmml-android example app and realize that model.pmml file was not serialized. I'd like to know how can I serialize the .pmml file inside Android or even use another method. Is there any way to do that? Is there any step-by-step?
I'm using gradle to compile the librarys inside pom.xml file from the example app:
Error: