Skip to content

Commit 842a146

Browse files
authored
Merge pull request #81 from Azure-Samples/archive
Archive AML
2 parents 62e4b32 + 9a0e403 commit 842a146

File tree

10 files changed

+9
-16
lines changed

10 files changed

+9
-16
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ This repository contains Python code samples used in Azure Cognitive Search docu
44

55
| Sample | Description |
66
|--------|-------------|
7-
| azureml-custom-skill | This sample is a Jupyter Python3 .ipynb file. It's used in the [Tutorial: Build and deploy a custom skill with Azure Machine Learning](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-aml-custom-skill). This sample provides an end-to-end walk through for training and deploying an aspect-based sentiment model to an Azure Kubernetes cluster for consumption as a custom skill in a Cognitive Search enrichment pipeline. Azure Machine Learning is used to train and deploy the model. |
87
| image-processing | This sample is a Jupyter Python3 .ipynb file that shows how to work with image skills in a skillset. Although the skillset performs useful operations, including Optical Character Recognition (OCR) and redaction of personally identifying information, the sample's purpose is to demonstrate the coordination of image file handoffs from one skill to the next. |
98
| quickstart | "Day One" introduction to the fundamental tasks of working with a search index: create, load, and query. This sample is a Jupyter Python3 .ipynb file. The index is modeled on a subset of the Hotels dataset, widely used in Cognitive Search samples, but reduced here for readability and comprehension. |
109
| tutorial-ai-enrichment | This sample is a Jupyter Python3 .ipynb file used in the [Python Tutorial: Call Cognitive Services APIs in an Azure Cognitive Search indexing pipeline](https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob-python). This sample demonstrates cognitive search functionality, adding AI enrichments from Cognitive Services to extract, detect, and analyze information from image files or large unstructured document files. |
1110
| search-website-functions-v4 | Shows how to create, load, and query a search index in Python using the Azure.Search.Documents library in the Azure SDK for Python. It also includes application code and sample data so that you can see search integration in the context of a full app. The data is from [https://github.com/zygmuntz/goodbooks-10k](https://github.com/zygmuntz/goodbooks-10k). The app is an Azure Static Web app, using the React library for user interaction, and Azure Function to handle the query requests and responses in the application layer. |
11+
12+
| Archived sample | Description |
13+
|--------|-------------|
14+
| (archived) azureml-custom-skill | This archived sample is out of support. |
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
1-
---
2-
topic: sample
3-
languages:
4-
- python
5-
- REST
6-
name: Build and deploy a custom skill with Azure Machine Learning
7-
description: This sample provides a Jupyter notebook for building and training an aspect-based sentiment model with Azure Machine Learning and then deploying the model to an Azure Kubernetes cluster for integration into an AI enrichment pipeline in Azure Cognitive Search.
8-
products:
9-
- azure
10-
- azure-cognitive-search
11-
- azure-machine-learning
12-
urlFragment: custom-skill-azure-machine-learning
13-
---
14-
15-
# Build and deploy a custom skill with Azure Machine Learning and Azure Cognitive Search
1+
# Archived - Custom skill example using Azure Machine Learning and Azure Cognitive Search
162

173
![MIT license badge](https://img.shields.io/badge/license-MIT-green.svg)
184

5+
This example is archived and no longer supported. The text of this readme is for the original sample and is out of date.
6+
7+
## Original introduction
8+
199
In this sample, you will use the [hotel reviews dataset](https://www.kaggle.com/datafiniti/hotel-reviews) (distributed under [the Creative Commons license CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)) to create a custom skill using Azure Machine Learning to extract aspect-based sentiment from the reviews. This allows for the assignment of positive and negative sentiment within the same review to be correctly ascribed to identified entities like staff, room, lobby, or pool.
2010

2111
To train the aspect-based sentiment model, you will be using the [nlp recipes repository](https://github.com/microsoft/nlp-recipes/tree/master/examples/sentiment_analysis/absa). The model will then be deployed as an endpoint on an Azure Kubernetes cluster. Once deployed, the model is added to the enrichment pipeline as a custom skill for use by the Cognitive Search service.

AzureML-Custom-Skill/datasets/hotel_reviews_100.csv renamed to archive/azureml-custom-skill/datasets/hotel_reviews_100.csv

File renamed without changes.

AzureML-Custom-Skill/datasets/hotel_reviews_1000.csv renamed to archive/azureml-custom-skill/datasets/hotel_reviews_1000.csv

File renamed without changes.
File renamed without changes.

AzureML-Custom-Skill/models/hotel_opinion_lex_reranked.csv renamed to archive/azureml-custom-skill/models/hotel_opinion_lex_reranked.csv

File renamed without changes.

AzureML-Custom-Skill/notebook/custom_skill_azureml.ipynb renamed to archive/azureml-custom-skill/notebook/custom_skill_azureml.ipynb

File renamed without changes.

AzureML-Custom-Skill/notebook/training-data/hotels_train.csv renamed to archive/azureml-custom-skill/notebook/training-data/hotels_train.csv

File renamed without changes.

0 commit comments

Comments
 (0)