Non i.i.d. data

Hello, the first cell of this course isn’t working. “NotadirectoryError”.

Many thanks for this MOOC btw !

Yes, it seems that financial-data is an HTML file instead of containing the following info: https://github.com/INRIA/scikit-learn-mooc/tree/main/datasets/financial-data

@brospars do you know what is the reason that the container did not fetch the right dataset files?

@obertrand99 In the meanwhile, you can create 3 cells with the following content:

Cell 1:

rm ../datasets/financial-data

Cell 2:

mkdir ../datasets/financial-data

Cell 3:

!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/financial-data/COP.csv -P ../datasets/financial-data/
!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/financial-data/CVX.csv -P ../datasets/financial-data/
!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/financial-data/TOT.csv -P ../datasets/financial-data/
!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/financial-data/VLO.csv -P ../datasets/financial-data/
!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/financial-data/XOM.csv -P ../datasets/financial-data/

And then go on with the exercise.

Many thanks, your solution works.

The jupyter user image was missing the datasets financial-data subdirectories. I’ve fixed it but currently running user servers will need a restart.

1 Like