Jump to content

How do evaluate, predict and apply random forest models


Fabian Brandimarte

Recommended Posts

Hi,

Is there a way to extract a random forest model from the Spotfire Random Forest in the same way that you can with other in-built analytical models (I.e linear regression etc)

Idealy, I would like to be able to build my random forest model on a training dataset and then predict outcomes on a separatetable, but I cant figure out how to do the prediction once I am happy with the model performance.

 

All help appreciated!

 

Thanks,

Fabian

Link to comment
Share on other sites

  • 8 months later...

I haven't been successful using the GUI but you can in TERR with saveRDS/readRDS

example:

saveRDS(random_forest,"path/file.rds")

random_forest = readRDS("path/file.rds")

The issues here is you will be saving/loading the model from you PC or a network location vs. the Spotfire server.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...