Description Usage Arguments Value
Checks that input data for 'forward()' and 'backward()' functions are the correct format. Specifically looks for:
X
and y
are appropriate dimensions (both same number of observations)
X
is a 2D numeric vector and y
is a 1D numeric vector
1 | input_data_checks(X, y)
|
X |
input for either |
y |
input for either |
list X matrix (If X is a dataframe when input, it will be converted into a matrix. Otherwise, if all of the checks pass, it will be returned 'as is'.) y 'as is' or extracted from X (if y was a character string on input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.