使用 utils.evaluate

attributes:

RMSE

Example

In [4]: from ycimpute.utils import evaluate

In [8]: original_vec = np.array([1,2,3,4])

In [9]: imputed_vec = np.array([1,2,1,3])

In [10]: score = evaluate.RMSE(original_vec,imputed_vec)

In [11]: score
Out[11]: 1.1180339887498949

评价所有的模型的RMSE:

请参考快速开始

results matching ""

    No results matching ""