We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would like to be able to get the equation of the curve that was calculated. Or the coefficients of the polynomials used to build the curve.
The text was updated successfully, but these errors were encountered:
Have you tried logging the model you've generated? That's how I was able to get coefficients for the logistic regression at least.
I fit the model first to my training dataset and then I logged the model.
let model = logistic.fit(training_dataset); console.log(model);
This outputted (obviously you will have values instead of '...'):
{ theta: [ ... ], // these are your coefficients. threshold: 1, cost: ..., config: { alpha: 0.001, lambda: 0, iterations: 10000 } }
Sorry, something went wrong.
No branches or pull requests
Would like to be able to get the equation of the curve that was calculated.
Or the coefficients of the polynomials used to build the curve.
The text was updated successfully, but these errors were encountered: