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

opt.fitCurve. Covariance can be "Infinity" #2

Open
NPellet opened this issue Mar 7, 2015 · 0 comments
Open

opt.fitCurve. Covariance can be "Infinity" #2

NPellet opened this issue Mar 7, 2015 · 0 comments

Comments

@NPellet
Copy link

NPellet commented Mar 7, 2015

If I copy the example

opt.fitCurve.linear([1, 2, 3, 4], [10, 3, 0, 2], function(results) {
    console.log(results);
})

I get

'float' object has no attribute 'tolist'

That's because pcov is "Infinity" (for some reason). I don't know if it's my distribution of numpy or scipy that does that, but that case should at least be handled.

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

1 participant