Custom Dataset for CSV Data
Write a PyTorch Dataset class that loads data from a CSV file containing tabular data (features + labels). Requirements:
- Use
pandasto read the CSV. - Convert features and labels to tensors.
- Implement
__len__and__getitem__.
Test by iterating over a small CSV dataset.