predict.pirouette: Make predictions from a pirouette object

Description Usage Arguments Value Examples

View source: R/pirouette.R

Description

Predict from a pirouette forest

Usage

1
2
## S3 method for class 'pirouette'
predict(object, newx, allowParallel = FALSE, ...)

Arguments

object

an pirouette object

newx

A sparse matrix.

allowParallel

Allow predictions in parallel

...

passed to predict.enpointe

Value

a vector

Examples

1
2
3
4
nrow <- 10000
ncol <- 100
m <- pirouette(matrix(runif(nrow * ncol), ncol=ncol), runif(nrow), distribution='gaussian')
predict(m, matrix(runif(ncol), ncol=ncol))

zachmayer/pirouette documentation built on May 4, 2019, 9:04 p.m.