scikit-learn

Calculation of the Pearson correlation coefficient

There are two files/frames. I want to make a correlation. import numpy as np import pandas as pd from sklearn.decomposition ... int (c) Receive: ----> c = np.corrcoef(t[:0], dj[:0])[0,1] IndexError: index 0 is out of bounds for axis 0 with size 0

What does the random state parameter in sklearn.manifest mean?TSNE and other SciKit-Learn classes?

Put 3 different values random_state, this is: (None, 0, 1). I did not understand what the essence of this method is. I read the documentation, the answer on the site, but I did not understand.

Error Found input variables with inconsistent numbers of samples

Teaching RandomRorest- Here is the code: X_train, X_test, y_train, y_test = train_test_split(X, y, ... n: y_test.shape - (3001,) RFC.predict_proba(X_test).shape - (3001, 2) Maybe the problem is in the dimension of the matrices?