Prediction class - get_train_array(self, j) #222
-
Hi Jakob and all - firstly, awesome package. I would like to retrieve the training dataset target values when using the Prediction class. It is easy to retrieve the test set, with pred.get_test_array()[0], as in the tutorial. For the train array, there is a method implemented:
What is j in this context? And what exactly is 'data' referring to? I can't quite work it out at the moment, I'm afraid! Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This has been re-worked now. 'j' is the index of the target variable. The array is extracted from the dataframe as desired for the given purpose, this may include masking and data transformation. The array is the result of that. |
Beta Was this translation helpful? Give feedback.
This has been re-worked now. 'j' is the index of the target variable. The array is extracted from the dataframe as desired for the given purpose, this may include masking and data transformation. The array is the result of that.