GINN icon indicating copy to clipboard operation
GINN copied to clipboard

To get the result of mae and rmse

Open joey00113 opened this issue 2 years ago • 5 comments

Hi,I want to know the result of mae and rsme after new dataset was added to the test. In utils.py you define a function named imputation_accuracy but you don‘t use it in the example using heart dataset . When I try to use this function in mydataset to get mae,I got some error!Could you tell me the usage of the function to get the result of mae and rmse?Thanks!

joey00113 avatar Mar 21 '22 15:03 joey00113

Hi! MAE and RMSE can be computed on artificially induced missing values of course. The function imputation_accuracy takes 3 arguments, the original dataset, the imputed one and the mask indicating where are the missing values. This mask is the second output of degrade_dataset.

spindro avatar Mar 22 '22 09:03 spindro

Thanks!I knew what the three parameters refer to. The main problem is the dimension of imputed dataset varies from that of the original dataset.It seems that some one-hot codes were added to the imputed dataset. Could you tell me how to make the imputed dataset have the same dimension and format as the original dataset? Only in this condition that the calculation of mae and rmse is meaningful.

joey00113 avatar Mar 22 '22 13:03 joey00113

这是来自QQ邮箱的自动回复邮件。您好,您的邮件我已收到,我会尽快处理并且给您回复,祝您生活愉快。

joey00113 avatar Oct 11 '22 08:10 joey00113

这是来自QQ邮箱的自动回复邮件。您好,您的邮件我已收到,我会尽快处理并且给您回复,祝您生活愉快。

So how to solve this problem?

Zjh152 avatar Mar 08 '23 14:03 Zjh152

这是来自QQ邮箱的自动回复邮件。您好,您的邮件我已收到,我会尽快处理并且给您回复,祝您生活愉快。

joey00113 avatar Mar 08 '23 14:03 joey00113