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

chore: refactor cognitive package to services #2117

Merged
merged 22 commits into from
Nov 1, 2023

Conversation

mhamilton723
Copy link
Collaborator

Related Issues/PRs

#xxx

What changes are proposed in this pull request?

Briefly describe the changes included in this Pull Request.

How is this patch tested?

  • I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

  • No. You can skip this section.
  • Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

  • No. You can skip this section.
  • Yes. Make sure you have added samples following below steps.
  1. Find the corresponding markdown file for your new feature in website/docs/documentation folder.
    Make sure you choose the correct class estimators/transformers and namespace.
  2. Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
  3. Make sure the DocTable points to correct API link.
  4. Navigate to website folder, and run yarn run start to make sure the website renders correctly.
  5. Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
  6. Make sure the WebsiteSamplesTests job pass in the pipeline.

@github-actions
Copy link

Hey @mhamilton723 👋!
Thank you so much for contributing to our repository 🙌.
Someone from SynapseML Team will be reviewing this pull request soon.

We use semantic commit messages to streamline the release process.
Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix.
This helps us to create release messages and credit you for your hard work!

Examples of commit messages with semantic prefixes:

  • fix: Fix LightGBM crashes with empty partitions
  • feat: Make HTTP on Spark back-offs configurable
  • docs: Update Spark Serving usage
  • build: Add codecov support
  • perf: improve LightGBM memory usage
  • refactor: make python code generation rely on classes
  • style: Remove nulls from CNTKModel
  • test: Add test coverage for CNTKModel

To test your commit locally, please follow our guild on building from source.
Check out the developer guide for additional guidance on testing your change.

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2023

Codecov Report

Merging #2117 (207cd72) into master (b0caf2e) will decrease coverage by 0.03%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master    #2117      +/-   ##
==========================================
- Coverage   86.42%   86.40%   -0.03%     
==========================================
  Files         312      312              
  Lines       16298    16299       +1     
  Branches      837      866      +29     
==========================================
- Hits        14086    14083       -3     
- Misses       2212     2216       +4     
Files Coverage Δ
...ure/synapse/ml/services/CognitiveServiceBase.scala 79.20% <ø> (ø)
...synapse/ml/services/anomaly/AnomalyDetection.scala 81.19% <ø> (ø)
...e/ml/services/anomaly/AnomalyDetectorSchemas.scala 100.00% <ø> (ø)
...ervices/anomaly/MultivariateAnomalyDetection.scala 91.33% <ø> (ø)
...s/anomaly/MultivariateAnomalyDetectorSchemas.scala 59.25% <ø> (ø)
...ure/synapse/ml/services/bing/BingImageSearch.scala 89.28% <ø> (ø)
...icrosoft/azure/synapse/ml/services/face/Face.scala 81.37% <ø> (ø)
...synapse/ml/services/form/FormOntologyLearner.scala 90.19% <ø> (ø)
...zure/synapse/ml/services/form/FormRecognizer.scala 84.04% <ø> (ø)
...napse/ml/services/form/FormRecognizerSchemas.scala 84.61% <ø> (ø)
... and 32 more

... and 1 file with indirect coverage changes

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@acrolinxatmsft1
Copy link

@mhamilton723
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mhamilton723 mhamilton723 merged commit fd00b87 into microsoft:master Nov 1, 2023
65 of 67 checks passed
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

4 participants