Skip to content

Ankush0286/News-Context-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

News-Context-Predictor

"News Context Predictor" project uses machine learning to predict the context or subject of a news article. The code processes a dataset containing news articles by combining the title, text, and subject into a single feature. It uses the TF-IDF vectorizer to convert the text into numerical features and applies Logistic Regression for classification. The model is trained to predict the subject of a news article, and its performance is evaluated using accuracy, a confusion matrix, and a classification report. The project also includes a function to predict the subject of new user-provided news text.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages