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

2.0 #59

Merged
merged 20 commits into from
Jul 15, 2017
Merged

2.0 #59

merged 20 commits into from
Jul 15, 2017

Conversation

Tom-Alexander
Copy link
Owner

@Tom-Alexander Tom-Alexander commented Jul 10, 2017

This update contains major breaking changes.

Internal

API

  • Removes lastvalue. This behaviour can be easily replicated by processing the input data first, for example:
const data = [[1,2], [1, null], [3, 4]];
const updated = data.map((v, i) => (v[1] === null && i > 0) ? [v[0], data[i - 1][1]] : v);
  • Removes linearThroughOrigin. This is now handled by the linear model.
  • Changes model access, regression('linear', data) becomes regression.linear(data)
  • Adds predict function (add predict function to results #55)

Additional Models

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

Successfully merging this pull request may close these issues.

None yet

1 participant