Skip to contents

A wrapper around mlpack::perceptron() that allows passing a formula.

Usage

perceptron(formula = NULL, data = NULL, epochs = 100, x = NULL, y = NULL)

Arguments

formula

A formula.

data

A data.frame.

epochs

Maximum number of iterations.

x

Design matrix.

y

Response matrix.

Value

An object of class baritsu_prc.