Skip to content

Commit 611df5a

Browse files
authored
more detailed doc (#454)
1 parent 4afcf93 commit 611df5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tech/v3/dataset/modelling.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@
225225
(defn probability-distributions->label-column
226226
"Given a dataset that has columns in which the column names describe labels and the
227227
rows describe a probability distribution, create a label column by taking the max
228-
value in each row and assign column that row value."
228+
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+
"
229231
([prob-ds dst-colname label-column-datatype]
230232
(let [^List cnames (vec (ds-base/column-names prob-ds))
231233
idx-col (->> (ds-readers/value-reader prob-ds)

0 commit comments

Comments
 (0)