Skip to content

Commit 1369f1a

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 40f7843 according to the output from Autopep8. Details: None
1 parent 0abf403 commit 1369f1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Fraud Detection/fraud_detection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
X = scaler.fit_transform(X)
1919

2020
# Split the data into training and testing sets
21-
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
21+
X_train, X_test, y_train, y_test = train_test_split(
22+
X, y, test_size=0.2, random_state=42)
2223

2324
# Handle class imbalance using SMOTE
2425
smote = SMOTE(sampling_strategy='auto', random_state=42)

0 commit comments

Comments
 (0)