initialize: The method 'initialize' in IPPModel class

Description Usage Arguments See Also

Description

The method initializes some fields and generate the field ParaTable by calling the method GenerateParaTable.

Usage

1
2
initialize(XDS, PredFun, PredType, PredDim=1, ModelPackage, XB.Size=200,
           XB.SamplingMethod="joint")

Arguments

XDS

a data.frame, the dataset of input features. It is assigned to the field X.Data.

PredFun

an object, the prediction function. It is assigned to the field Pred.Fun.

PredType

a string, the type of prediction. It is assigned to the field Pred.Type.

PredDim

an integer, indicating which class is predicted. This field is used only for classification model. It is assigned to the field Pred.Dimension.

ModelPackage

a string, the package name of the interpreted machine learning model, such as "nnet" and "randomforest". It is assigned to the field Model.Package.

XB.Size

an integer, the size of XB.Sample. It is assigned to the field XB.Size.

XB.SamplingMethod

a string, the sampling method of XB.Sample, "joint" or "independent". "joint" means that all features are sampled from X.Data jointly. "independent" means that each feature is sampled independently; then all features are combined randomly. It is assigned to the field XB.SamplingMethod.

See Also

IPPModel


XZPackage/IPPModel documentation built on May 17, 2019, 6:36 p.m.