DeepchecksModelVersionClient.log_batch#

DeepchecksModelVersionClient.log_batch(sample_ids: ndarray, data: DataFrame, predictions: Union[Series, ndarray, List[Any]], prediction_probas: Optional[Union[ndarray, Series, List[Any]]] = None, timestamps: Optional[Union[ndarray, Series, List[int]]] = None, samples_per_send: int = 10000)#

Log batch of samples.

Parameters
sample_idsnumpy.ndarray

set of sample ids

datapandas.DataFrame

set of features and optionally of non-features.

predictionsUnion[pd.Series, np.ndarray, t.List]

set of predictions

prediction_probasOptional[numpy.ndarray] , default None

set of predictions probabilities

timestampsUnion[numpy.ndarray, pandas.Series, List[int], None] , default None

set of numerical timestamps that represent second-based epoch time. If not provided then current time will be used.

samples_per_sendint , default 10_000

how many samples to send by one request