-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move datasets and write simple loader
- Loading branch information
1 parent
fed9938
commit fbb8dd4
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
from .datasets import lung_cancer |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
import pathlib | ||
|
||
import pandas as pd | ||
|
||
|
||
_lung_cancer_path = pathlib.Path(__file__).parent.joinpath('lung-cancer.data') | ||
lung_cancer = pd.read_csv(_lung_cancer_path, header=None, na_values='?') |
File renamed without changes.