Learn R Programming

⚠️There's a newer version (1.1.0) of this package.Take me there.

parsnip (version 0.1.2)

A Common API to Modeling and Analysis Functions

Description

A common interface is provided to allow users to specify a model without having to remember the different argument names across different functions or computational engines (e.g. 'R', 'Spark', 'Stan', etc).

Copy Link

Version

Install

install.packages('parsnip')

Monthly Downloads

35,023

Version

0.1.2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Max Kuhn

Last Published

July 3rd, 2020

Functions in parsnip (0.1.2)

null_value

Functions required for parsnip-adjacent packages
contr_one_hot

Contrast function for one-hot encodings
decision_tree

General Interface for Decision Tree Models
boost_tree

General Interface for Boosted Trees
has_multi_predict

Tools for models that predict on sub-models
get_model_env

Working with the parsnip model environment
logistic_reg

General Interface for Logistic Regression Models
mlp

General Interface for Single Layer Neural Network
linear_reg

General Interface for Linear Regression Models
mars

General Interface for MARS
model_spec

Model Specification Information
predict_class.model_fit

Other predict methods.
keras_mlp

Simple interface to MLP models via keras
make_classes

Prepend a new class
model_fit

Model Fit Object Information
multinom_reg

General Interface for Multinomial Regression Models
null_model

General Interface for null models
multi_predict

Model predictions across many sub-models
nullmodel

Fit a simple, non-informative model
predict.model_fit

Model predictions
set_engine

Declare a computational engine and specific arguments
repair_call

Repair a model call object
rpart_train

Decision trees via rpart
set_new_model

Tools to Register Models
surv_reg

General Interface for Parametric Survival Models
svm_rbf

General interface for radial basis function support vector machines
eval_args

Evaluate parsnip model arguments
model_printer

Print helper for model objects
svm_poly

General interface for polynomial support vector machines
nearest_neighbor

General Interface for K-Nearest Neighbor Models
set_args

Change elements of a model specification
show_call

Print the model call
tidy.model_fit

Turn a parsnip model object into a tidy tibble
req_pkgs

Determine required packages for a model
tidy.nullmodel

Tidy method for null models
type_sum.model_spec

Succinct summary of parsnip object
translate

Resolve a Model Specification for a Computational Engine
fit.model_spec

Fit a Model Specification to a Dataset
xgb_train

Boosted trees via xgboost
varying

A placeholder function for argument values
varying_args.model_spec

Determine varying arguments
rand_forest

General Interface for Random Forest Models
reexports

Objects exported from other packages
C5.0_train

Boosted trees via C5.0
add_rowindex

Add a column of row numbers to a data frame
control_parsnip

Control the fit function
descriptors

Data Set Characteristics Available when Fitting Models
convert_stan_interval

Convenience function for intervals
check_empty_ellipse

Check to ensure that ellipses are empty