So, I need to create a classifier with 3 simple comparisons to detect a fake bill, based on something like this pseudocode:
assume you are examining a bill with features f_1 ,f_2 ,f_3 and f_4 your rule may look like this :
if ( f_1 > 4) and ( f_2 > 8) and ( f_4 < 25):
x = " good "
else :
x = " fake "
What is best to use for this - a lambda? I started with this:
distdf = {
f1 : banknote['variance']
f2 : banknote['skewness']
f3 : banknote['curtosis']
f4 : banknote['entropy']
}
But I am not sure how to proceed. This is using the famous bank note authentication dataset: BankNote_Authentication.csv that can be found on Kaggle.