opendataval.dataval.ModelLessMixin#

class opendataval.dataval.ModelLessMixin#

Mixin for DataEvaluators without a prediction model and use embeddings.

Using embeddings and then predictiong the data values has been used by Ruoxi Jia Group with their KNN Shapley and LAVA data evaluators.

References#

Attributes#

embedding_modelModel

Embedding model used by model-less DataEvaluator to compute the data values for the embeddings and not the raw input.

pred_modelModel

The pred_model is unused for training, but to compare a series of models on the same algorithim, we compare against a shared prediction algorithim.

__init__()#

Methods

__init__()

embeddings(*tensors)

Returns Embeddings for the input tensors