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
Instead of running **/ml-spark-0.0.1-SNAPSHOT-jar-with-dependencies.jar and loading model everytime for each input digit image, it's better for us to find a way to only load model once and then do the prediction for all of the coming digit images multiple times.
For example:
val lrLBFGSModel = LogisticRegressionModel.load(sc, lrLBFGSModelPath) // run only once
val predictions = lrLBFGSModel.predict(testing) // run multiple times
The text was updated successfully, but these errors were encountered:
faustineinsun
changed the title
Speed up prediction process for users' digit images
Speed up the process of users' digit images prediction
May 16, 2016
Instead of running
**/ml-spark-0.0.1-SNAPSHOT-jar-with-dependencies.jar
and loading model everytime for each input digit image, it's better for us to find a way to only load model once and then do the prediction for all of the coming digit images multiple times.For example:
The text was updated successfully, but these errors were encountered: