Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudacademy/fraud-detection
/ functions
Functions
13 in github.com/cloudacademy/fraud-detection
⨍
Functions
13
◇
Types & classes
1
↳
Endpoints
1
↓ 4 callers
Method
post
(self, data)
tests/test_flask.py:26
↓ 1 callers
Function
main
Find the best model to fit the dataset and save it into file
src/train.py:17
↓ 1 callers
Function
new_grid_search
Create new GridSearch obj with models pipeline
src/train.py:34
↓ 1 callers
Function
run_grid_search
Run the GridSearch algorithm and compute evaluation metrics
src/train.py:50
↓ 1 callers
Function
save_search_results
Serialize model into file
src/train.py:65
↓ 1 callers
Function
split_dataset
Read and split dataset into train and test subsets
src/train.py:27
Function
predict_fraud
()
src/flask_app.py:13
Method
setUp
(self)
tests/test_flask.py:17
Method
tearDown
(self)
tests/test_flask.py:23
Method
test_empty_body
(self)
tests/test_flask.py:33
Method
test_multiple_data_points
(self)
tests/test_flask.py:61
Method
test_no_features
(self)
tests/test_flask.py:40
Method
test_single_data_point
(self)
tests/test_flask.py:47