Comments (7)
Cool! Thanks a lot!
from leaf.
You are right. The split shouldn't be at random but temporal, and we should be careful to avoid this. We will work on fixing this.
Can you provide us with the parameters that you used to obtain the testing accuracy (learning rate, size of the layers, etc.)?
Thank you.
from leaf.
I am using pytorch. All info is shown in the file below. One different of my model is that I feed all the hidden unit (instead of the last one) in to the linear layer. When I use your implementation of LSTM, i.e. only feeding the last hidden unit, I can still get a pretty high accuracy given enough training epochs.
Hope this can be fixed soon. It is a very helpful dataset. Thanks.
from leaf.
Sorry, there is a mistake of my implementation in the cell-6 of "test.pdf". When I define test_loader, I should use dataset=test_set instead of dataset=train_set.
And this would not affect the existence of the problem regarding this issue.
Regards,
from leaf.
Sorry, I'm confused by your update. Does this mean the issue remains?
from leaf.
Yes, the issue remains.
from leaf.
I have modified the train/test splits for Shakespeare. They are now temporally split, and samples that would leak any test information into the training set are ignored. This means that, if the last training sample happens at index i, the first test sample happens at index i + seq_len. We use seq_len as 80.
A side effect of this change is that some users now don't have any test samples, and have to be dropped from training.
from leaf.
Related Issues (20)
- A question on stacked_lstm model for sent140
- Experiment on sent140 is not generating the result mentioned in the paper
- The Reddit (small) splits seem to have the same data for training, validation and test sets HOT 4
- Download dataset too slow.
- download the femnist data HOT 1
- tf.layers.dense logit values are not correct in synthetic log_reg.py model
- federated learning anomaly detection HOT 2
- PyTorch Version? HOT 1
- Is F-EMNIST class-balanced?
- Fedprox
- local differential privacy
- incorrect model for CelebA
- The statistics for FEMNIST seems to be inaccurate? HOT 2
- Preprocessing of sent140
- TypeError: 'tuple' object does not support item assignment HOT 2
- accuracy
- If i want to use cifar10 how can i do it ? HOT 1
- split data raise error HOT 1
- Completed porting all shell commands in LEAF into python code!
- [Suggestion] Change Image.ANTIALIAS to Image.LANCZOS in FEMNIST/data_to_json.py
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 leaf.