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

[Refactor] Add preBuiltCohort to datasetCohorts in modelAssessmentContext #2007

Merged
merged 11 commits into from
Apr 5, 2023

Conversation

RubyZ10
Copy link
Contributor

@RubyZ10 RubyZ10 commented Mar 15, 2023

Description

This PR added preBuiltCohort to datasetCohorts and added datasetCohorts into modelAssessmentContext

  1. The preBuiltCohort from SDK has different filter format for categorical features from datasetCohort filter, so translate the filter of each preBuiltCohort and add to datasetCohorts
    for example, in below screenshots the arg has the actual feature value, but in datasetCohort filter, it is storing the index of those feature values, so we need to translate the arg.
    image

FYI, The filter format of DatasetCohort is the same as what SDK expected when calling from UI. in below screen shots it is a actual call from UI to SDK, column "Programming language" is a categorical feature, and the arg is passing the index of selected values. this is exactly the same as DatasetCohort filter.
image

  1. Add datasetCohorts in modelAssessmentContext

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

Signed-off-by: RubyZ10 <zhenzhu@microsoft.com>
Signed-off-by: RubyZ10 <zhenzhu@microsoft.com>
@RubyZ10 RubyZ10 changed the title Zhenzhu/refactor3 [Refactor] Add preBuiltCohort to Mar 15, 2023
@RubyZ10 RubyZ10 changed the title [Refactor] Add preBuiltCohort to [Refactor] Add preBuiltCohort to datasetCohorts in modelAssessmentContext Mar 15, 2023
@RubyZ10 RubyZ10 marked this pull request as ready for review March 15, 2023 19:01
RubyZ10 and others added 2 commits March 15, 2023 14:31
…ProcessPreBuiltDatasetCohort.ts

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
…ProcessPreBuiltDatasetCohort.ts

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
1 similar comment
RubyZ10 and others added 4 commits April 4, 2023 09:57
Signed-off-by: RubyZ10 <zhenzhu@microsoft.com>
Signed-off-by: RubyZ10 <zhenzhu@microsoft.com>
@RubyZ10 RubyZ10 enabled auto-merge (squash) April 4, 2023 20:45
@RubyZ10 RubyZ10 merged commit f53cef2 into main Apr 5, 2023
@RubyZ10 RubyZ10 deleted the zhenzhu/refactor3 branch April 5, 2023 16:42
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

3 participants