Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up the process of users' digit images prediction #1

Open
faustineinsun opened this issue May 15, 2016 · 0 comments
Open

Speed up the process of users' digit images prediction #1

faustineinsun opened this issue May 15, 2016 · 0 comments

Comments

@faustineinsun
Copy link
Owner

faustineinsun commented May 15, 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:

val lrLBFGSModel = LogisticRegressionModel.load(sc, lrLBFGSModelPath) // run only once
val predictions = lrLBFGSModel.predict(testing) // run multiple times
@faustineinsun faustineinsun changed the title Speed up prediction process for users' digit images Speed up the process of users' digit images prediction May 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant