Comments (2)
Hi,
The 'Type' column does not only contain 1, but the values 1, 2, 3, 5, 6, 7.
It is the column containing the label each entry belongs to.
So in the code you'll have to replace Type
in y_col = 'Type'
with the column name in your dataset containing the class-labels.
from siml.
Hi, thanks for the reply. I just realised where my problem was, it has to do with the way in which my class label column was generated. Thanks for looking out.
from siml.
Related Issues (11)
- wavelet forecasting question
- Auto-correlation in Python
- Computational time
- Question on sample points length HOT 2
- Typo HOT 1
- "ValueError: not enough values to unpack (expected 4, got 2)" HOT 1
- How to select Certain Wavelet lvl for feature extraction? HOT 1
- Bayesian : do you have capability to not crush calculations when there is observations in test data not seen in train data
- error in naive_bayes HOT 3
- do you have Laplas Smoothing for naive_bayes?
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 siml.