d-tree ~master (2022-03-01T12:52:15.264018)
Dub
Repo
Node.fit
dtree
node
Node
Undocumented in source.
struct
Node
void
fit
(
Decision
Xs
Ys
)
(
Xs
xs
,
Ys
ys
)
out { import std.array : array; import std.algorithm : sort; assert (sort(this.left.index ~ this.right.index).array == this.index); }
Meta
Source
See Implementation
dtree
node
Node
functions
born
fit
predict
properties
isLeaf
nElement
variables
bestFeatId
bestSampleId
bestThreshold
depth
info
left
right