I am a bit new to Python and was confused on how to read documentation. In particular, the Scikit learn documentation for their Logistic Regression classifier describes a function fit
with the following parameters:
Parameters:
X : {array-like, sparse matrix}, shape (n_samples, n_features)
Training vector, where n_samples is the number of samples and n_features is the number of features.
y : array-like, shape (n_samples,)
Target vector relative to X.
The first part of X
seems to ask for a dictionary ... and but the shape is a tuple? I'm confused - what type of input is the function expecting for X
here?