Skip to content

Commit

Permalink
enabled test
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Nov 29, 2024
1 parent 363f59b commit 2e80a17
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions model-integration-tests/model_integration_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ warnings.simplefilter('ignore')")
(-> model-specs
;;https://github.com/scicloj/scicloj.ml.smile/issues/19
(remove-model-type :smile.classification/mlp)
;;https://github.com/scicloj/scicloj.ml.xgboost/issues/1
(remove-model-type :xgboost/classification)))))
))))

(deftest verify-classification-iris-nil-catmap-float
(let [iris
Expand All @@ -295,24 +294,6 @@ warnings.simplefilter('ignore')")
(remove-model-type :xgboost/classification)
))))

;;(classify (-> smile-model-specs first second) iris-3)

(comment
(def iris-no-cats
(->
(data/iris-ds)
(ds/shuffle)
;(ds-cat/reverse-map-categorical-xforms)
;( ds/categorical->number) [:species] {} :float64)
;(ds/assoc-metadata [:species] :categorical-map nil)
))



(def model (ml/train iris-no-cats {:model-type :xgboost/classification
:num-class 4}))
(ml/predict iris-no-cats model)
)


(comment
Expand Down

0 comments on commit 2e80a17

Please sign in to comment.