I have used PassiveAggressiveClassifier from sklearn
PassiveAggressiveClassifier:-Passive-Aggressive algorithms are generally used for large-scale learning. It is one of the few ‘online-learning algorithms.
Code was pretty simple to understand.
pip install pandas
pip install numpy
pip install sklearn
pip install tkinter
pip install matplotlib
- python det.py(Run the program).
- Click on Train button and wait.
- After finishing training then copy any text(news) from test.csv and fill in Textbox.
- Click on Find Button.