Learn R Programming

ibmdbR (version 1.42.2)

idaRetrieveModel: Retrieve a predictive model from the database

Description

Use this function to retrieve from the database a model that was created using the idaNaiveBayes or idaKMeans function.

Usage

idaRetrieveModel(modelname)

Arguments

modelname
The name of the predictive model to be retrieved.

Value

  • This function returns an R object that contains a representation of the retrieved model. The class of the returned object depends on the function that was used to create the model.

Examples

Run this code
#Retrieve the model with name "MYKMEANSMODEL" from the database
trCopy <- idaRetrieveModel("KMEANSMODEL");

Run the code above in your browser using DataLab