Skip to content

Commit

Permalink
added titanic toy data
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Feb 11, 2024
1 parent 68cd88c commit 5163446
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ unreleased

- added dummy classifier
- add checks for matching categorical maps between train and predict
- added titanic toy data


0.7.2
Expand Down
Binary file added resources/data/titanic.nippy
Binary file not shown.
7 changes: 7 additions & 0 deletions src/scicloj/metamorph/ml/toydata.clj
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,10 @@

(ds/categorical->number [:class] {} :int16)
(ds-mod/set-inference-target :class))))


(defn titanic-ds []
(->
(io/resource "data/titanic.nippy")
(io/input-stream)
(ds/->dataset {:file-type :nippy})))

0 comments on commit 5163446

Please sign in to comment.