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

logistic_regression.js - epsilon #11

Open
PhilippKrone opened this issue May 18, 2015 · 2 comments
Open

logistic_regression.js - epsilon #11

PhilippKrone opened this issue May 18, 2015 · 2 comments

Comments

@PhilippKrone
Copy link

Hi,

I'm using natural (and thus apparatus) to perform some classification. I'm using the logistic regression classifier for various reasons. I have the issue when learning with about 500 datasets (each set consisting out of approx. 10 words), it's taking quite some time. It'd be nice to be able to set the epsilon

            if(last - current < 0.0001)
                break;
            }

dynamically when using apparatus instead of having to change it in the source code. Is there any possibility to set all those numbers via a config when calling the classifier?

Regards,
Philipp Krone

@zzzwx
Copy link

zzzwx commented Nov 1, 2016

+1
as well as learningRate and learning rate "division step"

@DrDub
Copy link
Contributor

DrDub commented Nov 3, 2016

Why don't you write a PR for that? But if you care about performance, some changes might affect speed. You might want to test both options (with a variable vs. with a constant).

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

No branches or pull requests

3 participants