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

Shuffle and shuffleInplace(o) #238

Open
derkeNuke opened this issue Jun 21, 2017 · 2 comments
Open

Shuffle and shuffleInplace(o) #238

derkeNuke opened this issue Jun 21, 2017 · 2 comments

Comments

@derkeNuke
Copy link

Hi,

The option shuffle:true still does not work for me (even after the change of Jonas Raoni Soares Silva). I get an error like this:

blob:null/1a2bb8ac-eef5-4e74-bee2-0edbad2fd7de:105 Uncaught ReferenceError: shuffleInplace is not defined

If I inspect the blob:null/1a2bb8ac-eef5-4e74-bee2-0edbad2fd7de:105, it seems that the function shuffleInplace does not exist, is not in this part of the code, and does not affect if I define it by myself in my js file.

Regards.

@leomendoza123
Copy link

My temporal fix is to set the train option shuffle to false.


 let trainResult = trainer.trainAsync( trainSet
      , {
        rate: .001,
        error: 0.01,
        iterations: 150000,
        shuffle: false, //             <<<<< FALSE 
        cost: Trainer.cost.CROSS_ENTROPY,
      }
    )

@sam-g-steel
Copy link

@cazala @derkeNuke
I'm looking at submitting a pull request to resolve this issue.

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

3 participants