Created
October 1, 2022 20:50
-
-
Save pabloalcain/133a97523bf56e060cdfdc2b98063d98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
class Dataset: | |
def __init__(self, filename): | |
dataset = pd.read_csv(filename) | |
self.features = dataset[["s-l", "s-w", "p-l", "p-w"]] | |
self.target = dataset["variety"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment