Skip to content

Commit

Permalink
2.0-beta-41
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuernber committed May 11, 2020
1 parent fcb7af8 commit a4ef411
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
techascent/tech.ml.dataset {:mvn/version "2.0-beta-34"}
techascent/tech.ml.dataset {:mvn/version "2.0-beta-41"}
ml.dmlc/xgboost4j {:mvn/version "0.90"
:exclusions [org.scala-lang/scala-library
org.scala-lang/scala-compiler
Expand Down
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(defproject techascent/tech.ml "2.0-beta-34-1-SNAPSHOT"
(defproject techascent/tech.ml "2.0-beta-41"
:description "Base concepts of the techascent ml suite"
:url "http://github.com/techascent/tech.ml-base"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[lein-tools-deps "0.4.1"]]
:plugins [[lein-tools-deps "0.4.5"]]
:middleware [lein-tools-deps.plugin/resolve-dependencies-with-deps-edn]
:lein-tools-deps/config {:config-files [:install :user :project]}
:profiles {:dev {:dependencies [[org.clojure/clojure "1.10.1"]
Expand Down
2 changes: 1 addition & 1 deletion src/tech/libs/xgboost.clj
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ c/xgboost4j/java/XGBoost.java#L208"))
(explain-model [this model {:keys [importance-type feature-columns]
:or {importance-type "gain"}}]
(let [^Booster booster (ml-proto/thaw-model this model)
feature-columns (into-array String feature-columns)
feature-columns (into-array String (map str feature-columns))
^Map score-map (.getScore booster
^"[Ljava.lang.String;" feature-columns
^String importance-type)]
Expand Down

0 comments on commit a4ef411

Please sign in to comment.