Пример #1
0
def predictFraud(row,model="GradientBoostingClassifier.p"):	
    clf = pickle.load(open(model,"rb"))
    return clf.predict_proba(transformquery(transformliverequest(row)))[0][1]
Пример #2
0
def main():
    train = balanceset(transformquery(getdf()))
    GenerateAllClassifiers(train)
    return