()
| 41 | |
| 42 | |
| 43 | def test_linear_model(): |
| 44 | model = LogisticRegression(lr=0.01, max_iters=500, penalty="l1", C=0.01) |
| 45 | model.fit(X_train, y_train) |
| 46 | predictions = model.predict(X_test) |
| 47 | assert roc_auc_score(y_test, predictions) >= 0.95 |
| 48 | |
| 49 | |
| 50 | def test_random_forest(): |
nothing calls this directly
no test coverage detected