IPInsightsPredictor: Returns dot product of entity and IP address embeddings as a...

IPInsightsPredictorR Documentation

Returns dot product of entity and IP address embeddings as a score for compatibility.

Description

The implementation of :meth:'~sagemaker.predictor.Predictor.predict' in this 'Predictor' requires a numpy “ndarray“ as input. The array should contain two columns. The first column should contain the entity ID. The second column should contain the IPv4 address in dot notation.

Super classes

sagemaker.mlcore::PredictorBase -> sagemaker.mlcore::Predictor -> IPInsightsPredictor

Methods

Public methods

Inherited methods

Method new()

Initialize IPInsightsPredictor class

Usage
IPInsightsPredictor$new(endpoint_name, sagemaker_session = NULL)
Arguments
endpoint_name

(str): Name of the Amazon SageMaker endpoint to which requests are sent.

sagemaker_session

(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.


Method clone()

The objects of this class are cloneable with this method.

Usage
IPInsightsPredictor$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-mlframework documentation built on March 18, 2022, 7:41 a.m.