Description Usage Arguments See Also
The method initializes some fields and generate the field ParaTable by calling the method GenerateParaTable.
1 2 | initialize(XDS, PredFun, PredType, PredDim=1, ModelPackage, XB.Size=200,
XB.SamplingMethod="joint")
|
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. |
IPPModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.