Scikit-Learn
14
with shape [n_samples, n_features]. Mostly, it is contained in a NumPy
array or a Pandas
DataFrame. As told earlier, the samples always represent the individual objects described
by the dataset and the features represents the distinct observations that describe each
sample in a quantitative manner.
Data as Target array
Along with Features matrix, denoted by X, we also have target array. It is also called label.
It is denoted by y. The label or target array is usually one-dimensional having length
n_samples. It is generally contained in NumPy
Dostları ilə paylaş: