Question

I've developed an application using Encog 3.1.0 for desktop, but my intent was always to port it to Android platform. Well, in desktop platform it runs nicely, very quick, it takes seconds to finish the job. On the other hand, when I run the same code on Android it becomes very slow.

My question is: Is there any difference on how to program Engog NN for desktop or Android? What should I do in order to run my app on Android in an acceptable time?

PS: my device is a Samsung Galaxy tab 2

Thanks all, B.Ramon

Was it helpful?

Solution

What hardware platform are you using? I am planning on providing more "official" support for Android soon with Encog. I plan to look into some optimizations.

Basically, the problem seems to be the speed of the Java math libraries on the Android platform. Other packages have similar issues. You can see more here. Android floating point math performance

I believe the means to make Encog faster on the Android is to make use of the Android NDK or possibly make use of some of the routines from BLAS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top