Learn R Programming

ibmdbR (version 1.51.0)

idaRetrieveModel: Retrieve a predictive model from the database

Description

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

Usage

idaRetrieveModel(modelname)

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.

Arguments

modelname

The name of the predictive model to be retrieved.

Examples

Run this code
if (FALSE) {

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

Run the code above in your browser using DataLab