How to get a model dynamically from the results of random_search.create()

User 2013 | 8/19/2015, 11:22:27 PM

After gl.randomsearch.create(), from the function of job#getresults(), we could get the model id I prefer. My question is that how I could get the real model that I could do prediction, such as logisticClassifier, SVMClassifier , etc. Do I need to create the model with the parameters which I could get? It would be convenient if the model instance could be got after the parameter search.



User 2013 | 8/19/2015, 11:31:13 PM

I found how to do this.Never mind.

job#get_models()[model_id] will return the preferred model.