Skip to content

Commit

Permalink
v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Jan 10, 2025
1 parent 395e819 commit bf25438
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"extensions":
[
"vscjava.vscode-java-pack",
"betterthantomorrow.calva"
"betterthantomorrow.calva",
"djblue.portal"
]
}
},
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
unreleased


0.2
* fixes #30 - dummy classifier does not predict by majority #30
* added dummy regression model
* improved design-matrix feature . Breaking ! columns need to be refered know by "precise name" (string, symbol, keyword)
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(def lib 'org.scicloj/metamorph.ml)
; alternatively, use MAJOR.MINOR.COMMITS:
;; (def version (format "6.2.%s" (b/git-count-revs nil)))
(def version "0.11.1")
(def version "0.2")
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(def jar-file (format "target/%s-%s.jar" (name lib) version))
Expand Down
7 changes: 1 addition & 6 deletions src/scicloj/metamorph/ml/regression.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
[fastmath.vector :as v]

[tech.v3.dataset.column-filters :as cf]
[tablecloth.column.api :as tcc]
[tech.v3.dataset.modelling :as ds-mod]
[fastmath.ml.regression :as regression])
[tablecloth.column.api :as tcc])
(:import [org.apache.commons.math3.stat.regression OLSMultipleLinearRegression]
[fastmath.java Array]))

Expand All @@ -34,9 +32,6 @@






(defn- augment-fm-fn [model data]
(let [residuals (-> model :model-data :residuals)]
(-> data
Expand Down

0 comments on commit bf25438

Please sign in to comment.