joelprince25 / adacost

Package to implement AdaCost
7 stars 8 forks source link

AttributeError: 'AdaCost' object has no attribute '_validate_X_predict' #1

Open Mr-YKS opened 4 years ago

Mr-YKS commented 4 years ago

when I run example in adacost package, the python notes AttributeError: 'AdaCost' object has no attribute '_validate_X_predict'. thanks.

carrieMrJ commented 3 years ago

when I run example in adacost package, the python notes AttributeError: 'AdaCost' object has no attribute '_validate_X_predict'. thanks.

I got the same problem when I ran it. Did you solve it?

carrieMrJ commented 3 years ago

when I run example in adacost package, the python notes AttributeError: 'AdaCost' object has no attribute '_validate_X_predict'. thanks.

I got the same problem when I ran it. Did you solve it?

I think man can use '_check_X' instead of '_validate_X_predict' in methods 'predict' and 'predict_proba'.

joelprince25 commented 3 years ago

@Mr-YKS & @carrieMrJ, fixed the issue. Please try again and let me know if it works.