Complete the command to initialize a new DVC project in your current directory.
dvc [1]The dvc init command initializes a new DVC project by creating necessary configuration files and directories.
Complete the command to add a data file named 'data.csv' to DVC tracking.
dvc [1] data.csvThe dvc add command tells DVC to track the specified data file or directory.
Fix the error in the command to run a DVC pipeline stage defined in 'dvc.yaml'.
dvc [1]The correct command to run a pipeline stage in DVC is dvc run.
Fill both blanks to define a DVC pipeline stage that runs 'python train.py' with input 'data.csv' and output 'model.pkl'.
dvc run -n train_model -d data.csv -o [1] [2]
The -o flag specifies the output file, here model.pkl. The command to run is python train.py.
Fill all three blanks to create a DVC pipeline stage that depends on 'prepare.py', uses 'data/raw.csv' as input, and outputs 'data/clean.csv'.
dvc run -n prepare_data -d [1] -d [2] -o [3] python prepare.py
The stage depends on the script prepare.py and the raw data data/raw.csv. The output is the cleaned data data/clean.csv.