In this lab, we will:
Load and preprocess the machine_failure_dataset
Implement classical Random Forest
Implement VQC in PennyLane
Compare RF and VQC in terms of accuracy
Step 1: Install and import libraries
Step 2: Load the dataset
Step 3: Preprocessing the dataset
Step 4: Build the Random Forest Model
Step 5: Build the Quantum Model
Step 6: Train the Quantum Model
Step 7 : Print the Result