ann: Artificial Neural Networks

Description Usage Arguments Details Value See Also Examples

View source: R/ann.R

Description

Artificial Neural Networks

Usage

1
2
3
ann(dataset, rvar, evar, type = "classification", lev = "", size = 1,
  decay = 0.5, wts = "None", seed = NA, check = "standardize",
  data_filter = "")

Arguments

dataset

Dataset name (string). This can be a dataframe in the global environment or an element in an r_data list from Radiant

rvar

The response variable in the model

evar

Explanatory variables in the model

type

Model type (i.e., "classification" or "regression")

lev

The level in the response variable defined as _success_

size

Number of units (nodes) in the hidden layer

decay

Paramater decay

wts

Weights to use in estimation

seed

Random seed to use as the starting point

check

Optional estimation parameters ("standardize" is the default)

data_filter

Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")

Details

See https://radiant-rstats.github.io/docs/model/ann.html for an example in Radiant

Value

A list with all variables defined in ann as an object of class ann

See Also

summary.ann to summarize results

plot.ann to plot results

predict.ann for prediction

Examples

1
2
3
result <- ann("titanic", "survived", c("pclass","sex"), lev = "Yes")
result <- ann("titanic", "survived", c("pclass","sex"))
result <- ann("diamonds", "price", c("carat","clarity"), type = "regression")

radiant.model documentation built on May 29, 2017, 11:17 p.m.