rules-internal: Internal function wrappers

c5_fitR Documentation

Internal function wrappers

Description

These are not supported when called by the user.

Usage

c5_fit(x, y, trials = 1, minCases = 2, cost = NULL, ...)

c5_pred(object, new_data, trials = object$fit$trials["Actual"], ...)

## S3 method for class 'C5_rules'
tunable(x, ...)

cubist_fit(x, y, committees = 1, neighbors = 0, max_rules = NA, ...)

get_neighbors(x)

## S3 method for class 'cubist_rules'
tunable(x, ...)

xrf_fit(
  formula,
  data,
  max_depth = 6,
  nrounds = 15,
  eta = 0.3,
  colsample_bytree = 1,
  min_child_weight = 1,
  gamma = 0,
  subsample = 1,
  lambda = 0.1,
  ...
)

xrf_pred(object, new_data, lambda = object$fit$lambda, type, ...)

## S3 method for class 'rule_fit'
tunable(x, ...)

rules documentation built on March 18, 2022, 7:55 p.m.