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

Easier library #56

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Easier library #56

wants to merge 5 commits into from

Conversation

GJBoth
Copy link
Member

@GJBoth GJBoth commented Dec 11, 2020

Hi all,

I took a stab at simplifying the library. It's not there yet, but we're getting closer I think. Basically I split it into two functions: deriv_features and build_features. Deriv_features calculates all derivatives (now using autodiff but we can try and collocate and then use finite diff) and build_features takes in the prediction and the derivatives to build theta, the feature matrix. Main motivation behind this is that you can use build_features for for classical methods (haven't tested yet) so if you build a custom library you can use it with classical methods as well.

Let me know what you think?

Copy link
Member

@remykusters remykusters left a comment

Choose a reason for hiding this comment

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

I like the change, it's clearer.

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.

2 participants