get_items_vectors

rectools.models.implicit_als.get_items_vectors(model: Union[AlternatingLeastSquares, AlternatingLeastSquares]) ndarray[source]

Get items vectors from ALS model as numpy array

Parameters

model (AnyAlternatingLeastSquares) – Model to get vectors from. Can be CPU or GPU model

Returns

Item vectors

Return type

np.ndarray