d-tree ~master (2022-03-01T12:52:15.264018)
Dub
Repo
Node
dtree
node
Undocumented in source.
struct
Node {
size_t
depth
;
DecisionInfo
info
;
size_t
bestFeatId
;
size_t
bestSampleId
;
double
bestThreshold
;
typeof
(
this
)*
left
;
typeof
(
this
)*
right
;
nElement
[@property getter];
isLeaf
[@property getter];
auto
born
(DecisionInfo info);
auto
predict
(X x);
void
fit
(Xs xs, Ys ys);
}
Alias This
info
Members
Functions
born
auto
born
(DecisionInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
fit
void
fit
(Xs xs, Ys ys)
Undocumented in source.
predict
auto
predict
(X x)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
isLeaf
isLeaf
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
nElement
nElement
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
bestFeatId
size_t
bestFeatId
;
Undocumented in source.
bestSampleId
size_t
bestSampleId
;
Undocumented in source.
bestThreshold
double
bestThreshold
;
Undocumented in source.
depth
size_t
depth
;
Undocumented in source.
info
DecisionInfo
info
;
Undocumented in source.
left
typeof
(
this
)*
left
;
right
typeof
(
this
)*
right
;
Undocumented in source.
Meta
Source
See Implementation
dtree
node
structs
Node