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

Number of iterations in learning #97

Open
shayantabrizi opened this issue Feb 13, 2018 · 1 comment
Open

Number of iterations in learning #97

shayantabrizi opened this issue Feb 13, 2018 · 1 comment

Comments

@shayantabrizi
Copy link
Contributor

In calling model.updateModel(data), I found nowhere to indicate the number of iterations for learning. Shouldn't the learning algorithms have some parameter for how many times they read data and try to optimize the parameters? Then, Is it correct to call model.updateModel(data) several times (e.g., 100 times) to learn the parameters correctly? Then, how can I know if the model is converging?

@andresmasegosa
Copy link
Contributor

Good question. Here you have an example showing how to do it,

SVB svb = new SVB();
svb.getPlateuStructure().getVMP().setMaxIter(niter);
svb.getPlateuStructure().getVMP().setOutput(true);
svb.getPlateuStructure().getVMP().setThreshold(threshold);

The threshold is defined as the percentage of increase in the lower bound.

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