Skip to contents

Prints a pptr model.

Usage

# S3 method for class 'pptr'
print(x, ...)

Arguments

x

A pptr model.

...

(unused) other parameters typically passed to print.

See also

Examples

model <- pptr(Type ~ ., data = iris)
print(model)
#> 
#> Project-Pursuit Oblique Decision Tree:
#> If ([ 0.01 0.04 -0.04 -0.01 ] * x) < 0.06660754:
#>  If ([ 0.04 0.07 -0.09 -0.15 ] * x) < -0.2075133:
#>    Predict: virginica 
#>  Else:
#>    Predict: versicolor 
#> Else:
#>   Predict: setosa 
#>