09.10.2023 Views

Advanced Data Analytics Using Python_ With Machine Learning, Deep Learning and NLP Examples ( 2023)

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3

Supervised Learning Using Python

if flag:

break

PEr= .674 * (1- corr[0]*corr[0])/

(len(X_train[:,i])**(1/2.0))

if corr[0] < PEr:

X_train = np.delete(X_train,i,1)

index.append(X.columns[i1-1])

processed = i - 1

flag = False

break

return y_train, X_train, y, X_back, X, time_limit,

index

76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!