We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4afcf93 commit 611df5aCopy full SHA for 611df5a
src/tech/v3/dataset/modelling.clj
@@ -225,7 +225,9 @@
225
(defn probability-distributions->label-column
226
"Given a dataset that has columns in which the column names describe labels and the
227
rows describe a probability distribution, create a label column by taking the max
228
- value in each row and assign column that row value."
+ value in each row and assign column that row value.
229
+ Creates a categorical label column which has a catgeorical map in its meta.
230
+ "
231
([prob-ds dst-colname label-column-datatype]
232
(let [^List cnames (vec (ds-base/column-names prob-ds))
233
idx-col (->> (ds-readers/value-reader prob-ds)
0 commit comments