print.FFTrees
prints basic information on FFTs for an FFTrees
object x
.
As x
may not contain test data, print.FFTrees
by default prints the performance characteristics for training data (i.e., fitting), rather than for test data (i.e., for prediction).
When test data is available, specify data = "test"
to print prediction performance.
# S3 method for FFTrees
print(x = NULL, tree = 1, data = "train", ...)
Prints summary information about an FFT to the console.
An FFTrees
object created by FFTrees
.
The tree to be printed (as an integer, only valid when the corresponding tree argument is non-empty).
Default: tree = 1
.
To print the best training or best test tree with respect to the goal
specified during FFT construction,
use "best.train"
or "best.test"
, respectively.
The data in x
to be printed (as a string);
must be either 'train'
(for fitting performance) or 'test'
(for prediction performance).
By default, data = 'train'
(as x
may not contain test data).
additional arguments passed to print
.
plot.FFTrees
for plotting FFTs;
summary.FFTrees
for summarizing FFTs;
inwords
for obtaining a verbal description of FFTs;
FFTrees
for creating FFTs from and applying them to data.