Binary classification algorithm that learns to separate
two classes of data points by finding an optimal
decision boundary (hyper plane) in the feature space.
Data frame with already classified observations. Each
column represents a parameter of the values. The last column contains the
output, this means, the expected output when the other column values are
inputs. Each row is a different observation. It works as training data.
to_clasify
Vector containing the parameters of the new value that we want to
classify.
activation_method
Activation function to be used. It must be one of
"step", "sine", "tangent", "linear", "relu",
"gelu" or "swish".
max_iter
Maximum epoch during the training phase.
learning_rate
Value at which the perceptron will learn from previous epochs mistakes.
details
Boolean value. If it is set to "TRUE" multiple clarifications
and explanations are printed along the code
waiting
If TRUE while details = TRUE. The code will stop in each
"block" of code and wait for the user to press "enter" to continue.