Comments (4)
Hey, thank you for your message.
I think the problem is that URL categorization dataset file is corrupted due to GitHub LFS restrictions. I would suggest you to download an original dataset from https://data.world/crowdflower/url-categorization website.
Let me know if the issue still remains.
from url-categorization-using-machine-learning.
from url-categorization-using-machine-learning.
from url-categorization-using-machine-learning.
Updated code with the fixed solution. The problem was that data.world provides two datasets with the same set of data but with different columns names:
- original/URL-categorization-DFE.csv (column: 'main_category:confidence')
- data/url_categorization_dfe.csv (column: 'main_category_confidence')
In my previous code 2 option dataset was used so if you used 1 option, then the error may occur on different column naming.
Thank you for reporting the problem and let me know if the issue is still remains unsolved or you have any other problems in term of executing this code!
Cheers!
from url-categorization-using-machine-learning.
Related Issues (12)
- 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
- I couldn't run it! HOT 1
- Dataset is too old
- No main.py file HOT 3
- Error: Executing construct_features.py HOT 4
- Running construct_data results in error message HOT 1
- Incorrect category for CNN HOT 2
- 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.