Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi class classificatio #1

Open
vinayakumarr opened this issue Nov 7, 2016 · 1 comment
Open

multi class classificatio #1

vinayakumarr opened this issue Nov 7, 2016 · 1 comment

Comments

@vinayakumarr
Copy link

I have large amount of sequence data
20 features and 5 classes for training
20 feature and 5 classes for testing

Can you tell whether it is possible to apply your method for classifying this? if so could you please give a simple example

@cytsai
Copy link
Contributor

cytsai commented Nov 7, 2016

Hi, thanks for your interest in our project.

Since our code is still quite experimental and research-oriented now, I would actually recommend trying other more popular libraries (e.g. scikit-learn, Vowpal Wabbit, XGBoost, etc.) first.

But if you don't mind spending some time tweaking our code, here are some tips, which hopefully can help a bit. The main thing needs to be modified is the load function in tsnet/datasets.py, where you should shape X_trn and X_tst as Nx20x1x1 arrays (N being the number of data points), and y_trn and y_tst as Nx1 arrays (with entries valued from 0 to 4 in your case). Then you can follow our MLP examples to create your own networks (nips16/experiments/cmp_mlp.py).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants