FFTrees v2.0.0
FFTrees version 2.0.0 was released on CRAN [on 2023-06-06].
This version adds functionality, improves consistency, and increases robustness.
Changes since last release:
Major changes
- Enabled conversions between tree definition formats and manipulating FFT definitions:
- tree definition and conversion functions:
get_fft_df
,read_fft_df
,write_fft_df
,add_fft_df
- tree trimming functions:
add_nodes
,drop_nodes
,edit_nodes
,flip_exits
,reorder_nodes
,select_nodes
- tree definition and conversion functions:
- Growing FFTs:
- enabled
stopping.rule = "statdelta"
- fixed a bug in
fftrees_grow_fan()
that preventedifan
algorithm from stopping
when finding a perfect FFT (given the currentgoal.chase
parameter)
- enabled
- Handling missing inputs (
NA
values) in data:NA
values in categorical (i.e., character/factor/logical) predictors are treated as<NA>
factor levelsNA
values in numeric predictors are either ignored (by default) or
imputed (as the mean of the corresponding predictor) when creating and using FFTs to decide/predict (if possible)NA
values in the criterion variable are yet to be dealt with
Minor changes
-
Added utility functions (and corresponding verification functions):
get_best_tree()
retrieves the ID of the best tree in anFFTrees
object (givengoal
)get_exit_type()
converts a vector of exit descriptions into FFT exits (givenexit_types
)get_fft_df()
retrieves the tree definitions of anFFTrees
object
-
Added cost information when printing FFTs (with
print.FFTrees()
). -
Improved user feedback (by making
quiet
a list with four options). -
Increased vocabulary for interpreting verbal FFT descriptions (using
my.tree
). -
Improved documentation of included data (e.g., in
FFTrees.guide()
).
Details
- Added global constants and utility functions.
- Added progress bar of cli package (removing dependency on progress).
- Added
exit_types
as global constant. - Improved data cleaning (consistent for training and test data).
- Revised documentation, vignettes, and tests.
The current development version of FFTrees is available at https://github.com/ndphillips/FFTrees.
[FFTrees version 2.0.0 was released on CRAN on 2023-06-06.]