Commit 3dce13b9 authored by Janadi's avatar Janadi

Training Data Changes

parent 2ed0d124
Pipeline #969 failed with stages
from sklearn.metrics import confusion_matrix
from sklearn.model_selection import train_test_split
import numpy as np
def print(X, y):
print(X,y)
# dividing X, y into train and test data
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state = 0)
print('Training Features Shape:', X_train.shape)
print('Training Labels Shape:', y_train.shape)
print('Testing Features Shape:', X_test.shape)
print('Testing Labels Shape:', y_test.shape)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment