Views
No views yet
1import lightgbm as lgb 2model = lgb.Booster(model_file='stage1_gatekeeper.txt') 3prob = model.predict(features.reshape(1, -1))[0] 4is_attack = prob >= 0.4837