Project Documentation
Bases: object
object
Class represents the model used in classification
Method builds the pipeline with TfidfVectorizer and chosen classifier.
Method returns the accuracy of the model.
Method returns the X data.
Method returns the X test data.
Method returns the X training data.
Method returns the classifier.
Method returns the pipeline.
Method returns the random state.
Method returns the test size.
Method returns the y data.
Method returns the y_pred.
Method returns the y test data.
Method returns the y training data.
Method sets the X data.
Method sets the X test data.
Method sets the X training data.
Method sets the classifier.
Method sets the random state.
Method sets the test size.
Method sets the y data.
Method sets the y_pred.
Method sets the y test data.
Method sets the y training data.
Method trains the model.