Skip to content

Commit

Permalink
Merge branch 'devel' of github.com:HLT-ISTI/QuaPy into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMoreo committed Dec 4, 2024
2 parents 8876d31 + e876e55 commit 3129187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quapy/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def download(id: int | None, group: str) -> dict:
y = df["NSP"].astype(int).values
elif group == "semeion":
with download_tmp_file("semeion", "semeion.data") as tmp:
df = pd.read_csv(tmp, header=None, delim_whitespace=True)
df = pd.read_csv(tmp, header=None, sep='\s+')
X = df.iloc[:, 0:256].astype(float).values
y = df[263].values # 263 stands for digit 8 (labels are one-hot vectors from col 256-266)
else:
Expand Down

0 comments on commit 3129187

Please sign in to comment.