-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Internalize RoleMappedSchema and implications thereof #1902
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -324,7 +325,7 @@ private List<CoefficientStatistics> GetUnorderedCoefficientStatistics(LinearBina | |||
/// <summary> | |||
/// Gets the coefficient statistics as an object. | |||
/// </summary> | |||
public CoefficientStatistics[] GetCoefficientStatistics(LinearBinaryModelParameters parent, RoleMappedSchema schema, int paramCountCap) | |||
internal CoefficientStatistics[] GetCoefficientStatistics(LinearBinaryModelParameters parent, RoleMappedSchema schema, int paramCountCap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
internal [](start = 8, length = 8)
can this stay public?
There is no other way to get the coefficient stats. the other public method gives stats on the bias, only.
Looking on wheather we can refactor to remove the dependancy on the RoleMappedSchema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have a workitem to have this method public, if this gets checked in as is, and address that in 0.9
In reply to: 242656194 [](ancestors = 242656194)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need to build a public surface to it, but it can't be this specifically. We'll have to figure something else out. Perhaps since you understand the problem and requirements, it might be best for you to write the sample? Any public API dealing with RoleMappedSchema
is right out though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c8fbc09
to
0559615
Compare
Internalization of everything related to role mapped schema, which includes schema-bindable mappers, much of the internal infrasturcture of evaluators, and so forth. As usual the commits are structured in such a way as only one "group" of code gets internalized at a time, with only the current last commit internalizing
RoleMappedSchema
itself.