Skip to content

Commit 13c4db6

Browse files
bugfix in task: get_pandas has been renamed to get_dataset
1 parent 7026f81 commit 13c4db6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/entities/task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_dataset(self):
4444
def get_X_and_Y(self):
4545
dataset = self.get_dataset()
4646
# Replace with retrieve from cache
47-
X_and_Y = dataset.get_pandas(target=self.target_feature)
47+
X_and_Y = dataset.get_dataset(target=self.target_feature)
4848
return X_and_Y
4949

5050
def evaluate(self, algo):
@@ -159,4 +159,4 @@ def perform_cv_fold(self, algo, fold, folds):
159159
accuracy = sklearn.metrics.accuracy_score(Y[validation_indices],
160160
predictions)
161161
return accuracy
162-
"""
162+
"""

0 commit comments

Comments
 (0)