Home
last modified time | relevance | path

Searched refs:right_stats (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
Dsplit-stats.h47 const NodeStats& left_stats, const NodeStats& right_stats) in SplitStats()
50 right_node_stats(right_stats), in SplitStats()
51 gain(left_stats.gain + right_stats.gain - root_stats.gain - in SplitStats()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dgrow_stats.cc490 int best_split_index, LeafStat* left_stats, LeafStat* right_stats) const { in InitLeafClassStats()
497 auto* right_class_stats = right_stats->mutable_classification(); in InitLeafClassStats()
593 int best_split_index, LeafStat* left_stats, LeafStat* right_stats) const { in InitLeafClassStats()
597 auto* right_class_stats = right_stats->mutable_classification(); in InitLeafClassStats()
742 const auto& right_stats = in ExtractFromProto() local
743 cand.right_stats().classification().sparse_counts(); in ExtractFromProto()
746 right_counts_[split_num].ExtractFromProto(right_stats); in ExtractFromProto()
763 auto* right_stats = cand->mutable_right_stats() in PackToProto() local
766 right_counts_[split_num].PackToProto(right_stats); in PackToProto()
784 int best_split_index, LeafStat* left_stats, LeafStat* right_stats) const { in InitLeafClassStats()
[all …]
Dgrow_stats.h191 LeafStat* right_stats) const = 0;
313 LeafStat* right_stats) const override;
378 LeafStat* right_stats) const override;
471 LeafStat* right_stats) const override;
Ddecision-tree-resource.cc71 model_op_->ExportModel(best->right_stats(), right_leaf); in SplitNode()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dsplit_handler_ops.cc276 NodeStats right_stats = state->ComputeNodeStats(right_gradient_stats); in ComputeNormalDecisionTree() local
277 if (left_stats.gain + right_stats.gain > best_gain) { in ComputeNormalDecisionTree()
278 best_gain = left_stats.gain + right_stats.gain; in ComputeNormalDecisionTree()
280 best_right_node_stats = right_stats; in ComputeNormalDecisionTree()
848 NodeStats right_stats = state->ComputeNodeStats(right_gradient_stats); in ComputeNormalDecisionTree() local
850 left_stats.gain + right_stats.gain > best_gain) { in ComputeNormalDecisionTree()
851 best_gain = left_stats.gain + right_stats.gain; in ComputeNormalDecisionTree()
853 best_right_node_stats = right_stats; in ComputeNormalDecisionTree()
/external/tensorflow/tensorflow/contrib/tensor_forest/proto/
Dfertile_stats.proto88 LeafStat right_stats = 5; field