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

how can i save the trained-model? #15

Open
GitHUB-ZYD opened this issue Jul 2, 2022 · 1 comment
Open

how can i save the trained-model? #15

GitHUB-ZYD opened this issue Jul 2, 2022 · 1 comment

Comments

@GitHUB-ZYD
Copy link

if I save all image throw save.image("all_value.rdata"),then if I load it ,the trained-model could not be use to predict again!!
it throw the error below:

predscores <- predict_GSModel(GSModel = trainGSmodel,testMat = Markers[testIdx,],markerImage=markerImage)
Error in .External(list(name = "CppMethod__invoke_notvoid", address = <pointer: (nil)>, :
NULL value passed as symbol address
image

@cma2015
Copy link
Owner

cma2015 commented Jul 14, 2022

In the R programming language, you can use the save() function to save your trained-model in RData format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants