azure.cognitiveservices.personalizer package¶
Submodules¶
Module contents¶
-
class
azure.cognitiveservices.personalizer.
PersonalizerClient
(endpoint, credentials)[source]¶ Bases:
msrest.service_client.SDKClient
Personalizer Service is an Azure Cognitive Service that makes it easy to target content and experiences without complex pre-analysis or cleanup of past data. Given a context and featurized content, the Personalizer Service returns your content in a ranked list. As rewards are sent in response to the ranked list, the reinforcement learning algorithm will improve the model and improve performance of future rank calls.
- Variables
config (PersonalizerClientConfiguration) – Configuration for client.
events (azure.cognitiveservices.personalizer.operations.EventsOperations) – Events operations
- Parameters
-
rank
(rank_request, custom_headers=None, raw=False, **operation_config)[source]¶ A Personalizer rank request.
- Parameters
rank_request (RankRequest) – A Personalizer request.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
RankResponse or ClientRawResponse if raw=true
- Return type
RankResponse or ClientRawResponse
- Raises