perceptron: perceptron

View source: R/funSring.R

perceptronR Documentation

perceptron

Description

Perceptron to calculate decisions

Usage

perceptron(currentState, nStates, sElevator, sCustomer, weightsPerceptron)

Arguments

currentState

current state for decision (num)

nStates

numer of states (int)

sElevator

elevators vector (logical)

sCustomer

customer vector (logical)

weightsPerceptron

Weight vector (num)

Details

Number of weights in NN controller is 2xnStates, for each state (sElevator/sCustomer) there is one input

Value

logical pass or take decision


SPOT documentation built on June 26, 2022, 1:06 a.m.