Regarding x_train and y_train

In this lecture or before this lecture the procedure of getting x_train and y_train is not shown!

Hey @maitraanirban25

The procedure to get X_train and Y_train is there just at the start of the video. Once you have the data variable ready, you can use the following code to make the split:

X_train = data[:split, :-1]
X_test = data[split:, :-1]

Y_train = data[:split, -1]
Y_test = data[split:, -1]

Hope this helps!