The code snippet below
X_train, y_train, X_test = crunch.load_data()
was working fine till yesterday. But todate while running the crunch.load_data()
command i saw 4 files named X-train
, X_test
, y_train
and y_test
are being downloaded(refer the screenshot).
I have 2 questions regarding the same:
- Does the competition started giving the y-test values from today? Because till yesterday only 4 files were being downloaded.
- Now as 4 objects are being downloaded, then the
crunch.load_data()
function should be returning 4 objects. But the lineX_train, y_train, X_test, y_test = crunch.load_data()
give the errorValueError: not enough values to unpack (expected 4, got 3)
- Now this error is shown when there is mismatch between the no of objects returned and no of vars that is capturing the objects. But if the method should return 4 object and Ihave provided 4 vars, then why I’m getting
(expected 4, got 3)
?
OR
Am i doing some silly mistake?
NOTE: the command with 3 variables X_train, y_train, X_test = crunch.load_data()
is working fine.
# CLOUDN'T PASTE THE SCREENSHOT BECAUSE AS A NEW USER CAN ONLY POST ONE MEDIA PER POST.
# Getting the data
# X_train, y_train, X_test, y_test = crunch.load_data()
X_train, y_train, X_test = crunch.load_data()
>>download data/X_train.parquet from https://datacrunch-com.s3.eu-west-1.amazonaws.com/production/adialab/data-releases/1/X_train.parquet
already exists: file length match
download data/y_train.parquet from https://datacrunch-com.s3.eu-west-1.amazonaws.com/production/adialab/data-releases/1/y_train.parquet
already exists: file length match
download data/X_test.parquet from https://datacrunch-com.s3.eu-west-1.amazonaws.com/production/adialab/data-releases/1/X_test_reduced.parquet
already exists: file length match
download data/y_test.parquet from https://datacrunch-com.s3.eu-west-1.amazonaws.com/production/adialab/data-releases/1/y_test_reduced.parquet
already exists: file length match