verticapy.machine_learning.vertica.preprocessing.CountVectorizer.fit¶
- CountVectorizer.fit(input_relation: Annotated[str | vDataFrame, ''], X: Annotated[str | list[str], 'STRING representing one column or a list of columns'] | None = None, return_report: bool = False) None¶
Trains the model.
Parameters¶
- input_relation: SQLRelation
Training relation.
- X: SQLColumns
List of the predictors. If empty, all the
columns are used.