Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
X_train, y_train = pickle.load(open(ROOT_DIR + "/data/german_train.p", "rb"))

def buildRandomForestClassifier():
creditClf = RandomForestClassifier(n_estimators=20, random_state=1)
creditClf = RandomForestClassifier(n_estimators=200, random_state=1)
creditClf.fit(X=X_train, y=y_train)
return creditClf

Expand All @@ -18,4 +18,4 @@ def buildLogisticRegression():
creditClf.fit(X=X_train, y=y_train)
return creditClf

build = buildRandomForestClassifier
build = buildRandomForestClassifier
Binary file added build_model.pyc
Binary file not shown.
Binary file added tests/__init__.pyc
Binary file not shown.
Binary file added tests/test_build_model.pyc
Binary file not shown.