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

Linear Regression function implemented #1005

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

Madhav2310
Copy link
Contributor

No description provided.

@Madhav2310
Copy link
Contributor Author

@certik @czgdp1807 @Smit-create Please review

Copy link
Collaborator

@Smit-create Smit-create left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add the tests for linear_regression(list[i32], list[i32])


slope: f64
intercept: f64
slope, intercept = linear_regression(c,d)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
slope, intercept = linear_regression(c,d)
slope, intercept = linear_regression(c, d)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@Madhav2310 Madhav2310 Aug 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I've implemented this change too, please review and merge

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add the tests for linear_regression(list[i32], list[i32])

Copy link
Collaborator

@czgdp1807 czgdp1807 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far.

Madhav2310 and others added 2 commits August 29, 2022 16:34
Co-Authored-By: Madhav <madhav.mittal.mat19@itbhu.ac.in>
@Smit-create Smit-create merged commit 4ea45c5 into lcompilers:main Sep 2, 2022
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.

3 participants