Skip to content

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

Merged
merged 4 commits into from
Dec 18, 2018

Conversation

TomFinley
Copy link
Contributor

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.

@TomFinley TomFinley added the API Issues pertaining the friendly API label Dec 18, 2018
@TomFinley TomFinley self-assigned this Dec 18, 2018
Copy link
Contributor

@Zruty0 Zruty0 left a comment

Choose a reason for hiding this comment

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

🕐

Copy link
Contributor

@Zruty0 Zruty0 left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -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)
Copy link
Member

@sfilipi sfilipi Dec 18, 2018

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.

Copy link
Member

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)

Copy link
Contributor Author

@TomFinley TomFinley Dec 18, 2018

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.

Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

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

:shipit:

@TomFinley TomFinley merged commit 93a8fe3 into dotnet:master Dec 18, 2018
@TomFinley TomFinley deleted the tfinley/Role branch March 6, 2019 16:31
@ghost ghost locked as resolved and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API Issues pertaining the friendly API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants