Linear regression model trying to predict word count from pasted news title. Notebook has whole process from data cleaning to model training. Added form to easily paste title to try, comparison to real value.
Entered title: Ze smartfonami jest jeszcze gorzej, niż myśleliśmy
Entered titles has: 50 characters
Model predicted: 7 words
Real count: 7 words
Error rate: 0.0%
Feel free to try it in Google Colab.
Input model data: character count including spaces from entered news title
Output model data: word count
- Enter tested news title.
- Get character count from entered title.
- Try to predict word count using learned model.
- Compare prediction to real values.