Module Contents#

class relevanceai.operations_new.dr.models.ivis.IvisModel(n_components: int, alias: Union[str, None], **kwargs)#

Helper class that provides a standard way to create an ABC using inheritance.

fit(self, vectors: Union[List[List[float]], numpy.ndarray]) None#

The function takes a list of lists of floats and fits the model to the data


vectors (Union[List[List[float]], np.ndarray]) – Union[List[List[float]], np.ndarray]

fit_transform(self, vectors: List[List[float]]) List[List[float]]#

It takes a list of vectors, fits the model to the vectors, and then transforms the vectors


vectors (List[List[float]]) – List[List[float]]

Return type

A list of lists of floats.