Comments (2)
Hey!
That's the very deep question that has more than one possible answers:
- CNN home website may contain words that could make an impact for wrong category classification.
- Most frequent word list could be outdated or need to be improved.
The solution to these answers could be different, but the first thing that comes to my mind is to expand words and get more information about websites as possible. One of the solution may be to not scrape only home website page, but also deeper levels of their content(recursively go to website hyperlinks). That would make more features for website when counting the most frequent words and get weights from it.
More information may lead to the more accurate model, so it is possible to do recursive scrapping not only for CNN, but for all training set websites then the most frequent models also would be more accurate. That would cost more time, but results of the model could be much better.
However, I did not implemented recursive scrapping since it could be more complex and this project was done for academic research purposes so recursive scrapping implementation needs to be done. Maybe someday when I got more free time, I could try to implement this feature so for now it's in my to-do plan list in the future.
from url-categorization-using-machine-learning.
Related Issues (10)
- Found array with 0 sample(s) (shape=(0,)) while a minimum of 1 is required. HOT 2
- RuntimeError HOT 1
- Other ML learning algorithm source code HOT 1
- No main.py file HOT 3
- Error: Executing construct_features.py HOT 4
- Running construct_data results in error message HOT 1
- Url-Categorization HOT 4
- Additional Model Training HOT 1
- RequestsDependencyWarning HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from url-categorization-using-machine-learning.