ml_pcard: ml_pcard An R wrapper for the PCARD Spark Package that...

Description Usage Arguments Value

View source: R/ml_pcard.R

Description

ml_pcard An R wrapper for the PCARD Spark Package that performs Random Discretization and PCA, then joins the results and trains an ensemble of decision trees.

Usage

1
2
ml_pcard(x, response, features = dplyr::tbl_vars(x), numTrees = 10,
  numBins = 5)

Arguments

x

- a tbl_spark object

response

- name of the column containing group labels

features

- features to use to predict group membership

numTrees

- number of decision trees to use ensemble

numBins

- number of bins in random discretization

Value

A Spark model object that can be used in predict or sdf_predict


slopp/sparkPCARD documentation built on May 30, 2019, 3:05 a.m.