Description Usage Arguments Value Note Examples
This function combines two compatible (same decision, same training data structure and same depth) models into a single ensemble. It can be used to distribute model training, perform it on batches of data, save checkouts or precisely investigate its course.
1 2 3 4 5 6 7 8 9 |
x |
Object of a class |
y |
Object of a class |
dropModel |
If |
ignoreObjectConsistency |
If |
trueY |
Copy of the training decision, used to re-construct OOB error and confusion matrix.
Can be omitted, OOB error and confusion matrix will disappear in that case; ignored when |
... |
Ignored, for S3 gerneric/method consistency. |
An object of class rFerns
, which is a list with the following components:
model |
The merged model in case both |
oobErr |
OOB approximation of accuracy, if can be computed.
Namely, when |
importance |
The merged importance scores in case both |
oobScores |
OOB scores, if can be computed; namely if both models had it calculated and |
oobPreds |
A vector of OOB predictions of class for each object in training set, if can be computed. |
oobConfusionMatrix |
OOB confusion matrix, if can be computed.
Namely, when |
timeTaken |
Time used to train the model, calculated as a sum of training times of |
parameters |
Numerical vector of three elements: |
classLabels |
Copy of |
isStruct |
Copy of the train set structure. |
merged |
Set to |
In case of different training object sets were used to build the merged models, merged importance is calculated but mileage may vary; for substantially different sets it may become biased. Your have been warned.
Shadow importance is only merged when both models have shadow importance and the same consistentSeed
value; otherwise shadow importance would be biased down.
The order of objects in x
and y
is not important; the only exception is merging with NULL
, in which case x
must be an rFerns
object for R to use proper merge method.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.