Home
last modified time | relevance | path

Searched refs:prediction_model (Results 1 – 25 of 30) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/optimization_guide/
H A Ddecision_tree_prediction_model_unittest.cc18 std::unique_ptr<proto::PredictionModel> prediction_model = in GetValidDecisionTreePredictionModel() local
54 return prediction_model; in GetValidDecisionTreePredictionModel()
69 return prediction_model; in GetValidEnsemblePredictionModel()
102 prediction_model->mutable_model() in TEST()
135 prediction_model->mutable_model() in TEST()
168 prediction_model->mutable_model() in TEST()
201 prediction_model->mutable_model() in TEST()
286 prediction_model->mutable_model() in TEST()
310 prediction_model->mutable_model() in TEST()
335 prediction_model->mutable_model() in TEST()
[all …]
H A Dprediction_model.cc16 prediction_model) { in Create()
21 if (!prediction_model->has_model()) in Create()
24 if (!prediction_model->has_model_info()) in Create()
27 if (!prediction_model->model_info().has_version()) in Create()
39 prediction_model->model_info().supported_model_types(0) == in Create()
46 prediction_model->model_info().supported_model_features()) { in Create()
55 if (prediction_model->model_info().supported_model_types(0) != in Create()
60 std::move(prediction_model)); in Create()
72 prediction_model) { in PredictionModel()
73 version_ = prediction_model->model_info().version(); in PredictionModel()
[all …]
H A Dprediction_model_unittest.cc15 std::unique_ptr<proto::PredictionModel> prediction_model = in TEST() local
53 prediction_model->mutable_model_info(); in TEST()
63 PredictionModel::Create(std::move(prediction_model)); in TEST()
77 PredictionModel::Create(std::move(prediction_model)); in TEST()
90 PredictionModel::Create(std::move(prediction_model)); in TEST()
103 prediction_model->mutable_model_info(); in TEST()
107 PredictionModel::Create(std::move(prediction_model)); in TEST()
120 prediction_model->mutable_model_info(); in TEST()
126 PredictionModel::Create(std::move(prediction_model)); in TEST()
139 prediction_model->mutable_model_info(); in TEST()
[all …]
H A Doptimization_guide_test_util.cc9 auto prediction_model = in GetMinimalDecisionTreePredictionModel() local
11 prediction_model->mutable_model()->mutable_threshold()->set_value(threshold); in GetMinimalDecisionTreePredictionModel()
19 *prediction_model->mutable_model()->mutable_decision_tree() = in GetMinimalDecisionTreePredictionModel()
22 return prediction_model; in GetMinimalDecisionTreePredictionModel()
29 auto prediction_model = in GetSingleLeafDecisionTreePredictionModel() local
31 prediction_model->mutable_model() in GetSingleLeafDecisionTreePredictionModel()
38 return prediction_model; in GetSingleLeafDecisionTreePredictionModel()
H A Dprediction_model.h32 prediction_model);
50 prediction_model);
H A Dstore_update_data_unittest.cc120 proto::PredictionModel prediction_model; in TEST() local
122 proto::ModelInfo* model_info = prediction_model.mutable_model_info(); in TEST()
133 prediction_model_update->CopyPredictionModelIntoUpdateData(prediction_model); in TEST()
H A Dstore_update_data.cc190 const proto::PredictionModel& prediction_model) { in CopyPredictionModelIntoUpdateData() argument
201 prediction_model.model_info().optimization_target())); in CopyPredictionModelIntoUpdateData()
205 entry_proto.mutable_prediction_model()->CopyFrom(prediction_model); in CopyPredictionModelIntoUpdateData()
H A DBUILD.gn55 "prediction_model.cc",
56 "prediction_model.h",
H A Ddecision_tree_prediction_model.cc13 prediction_model) in DecisionTreePredictionModel()
14 : PredictionModel(std::move(prediction_model)) {} in DecisionTreePredictionModel()
H A Ddecision_tree_prediction_model.h26 prediction_model);
H A Dstore_update_data.h73 const proto::PredictionModel& prediction_model);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/services/machine_learning/public/cpp/decision_tree/
H A Ddecision_tree_prediction_model_unittest.cc61 return prediction_model; in GetValidDecisionTreePredictionModel()
78 return prediction_model; in GetValidEnsemblePredictionModel()
86 prediction_model->mutable_model_info(); in TEST()
112 prediction_model->mutable_model() in TEST()
146 prediction_model->mutable_model() in TEST()
180 prediction_model->mutable_model() in TEST()
214 prediction_model->mutable_model() in TEST()
303 prediction_model->mutable_model() in TEST()
328 prediction_model->mutable_model() in TEST()
354 prediction_model->mutable_model() in TEST()
[all …]
H A Dprediction_model.cc17 prediction_model) { in Create()
22 if (!prediction_model->has_model()) in Create()
25 if (!prediction_model->has_model_info()) in Create()
28 if (!prediction_model->model_info().has_version()) in Create()
40 prediction_model->model_info().supported_model_types(0) == in Create()
47 prediction_model->model_info().supported_model_features()) { in Create()
56 if (prediction_model->model_info().supported_model_types(0) != in Create()
61 std::move(prediction_model)); in Create()
73 prediction_model) { in PredictionModel()
74 version_ = prediction_model->model_info().version(); in PredictionModel()
[all …]
H A Dprediction_model_unittest.cc52 *prediction_model->mutable_model()->mutable_decision_tree() = in TEST()
56 prediction_model->mutable_model_info(); in TEST()
66 PredictionModel::Create(std::move(prediction_model)); in TEST()
87 prediction_model->mutable_model()->mutable_decision_tree(); in TEST()
98 prediction_model->mutable_model()->mutable_decision_tree(); in TEST()
102 prediction_model->mutable_model_info(); in TEST()
113 prediction_model->mutable_model()->mutable_decision_tree(); in TEST()
117 prediction_model->mutable_model_info(); in TEST()
130 prediction_model->mutable_model()->mutable_decision_tree(); in TEST()
134 prediction_model->mutable_model_info(); in TEST()
[all …]
H A Dprediction_model.h36 prediction_model);
55 prediction_model);
H A Ddecision_tree_prediction_model.cc16 prediction_model) in DecisionTreePredictionModel()
17 : PredictionModel(std::move(prediction_model)) {} in DecisionTreePredictionModel()
H A Ddecision_tree_prediction_model.h28 prediction_model);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/optimization_guide/prediction/
H A Dprediction_manager_browsertest.cc81 std::unique_ptr<optimization_guide::proto::PredictionModel> prediction_model = in GetValidDecisionTreePredictionModel() local
86 prediction_model->mutable_model()->mutable_decision_tree(); in GetValidDecisionTreePredictionModel()
115 return prediction_model; in GetValidDecisionTreePredictionModel()
122 prediction_model->mutable_model()->mutable_threshold()->set_value(5.0); in GetValidEnsemblePredictionModel()
127 prediction_model->mutable_model()->mutable_ensemble(); in GetValidEnsemblePredictionModel()
130 return prediction_model; in GetValidEnsemblePredictionModel()
139 prediction_model->mutable_model_info(); in CreatePredictionModel()
149 return prediction_model; in CreatePredictionModel()
174 prediction_model->mutable_model_info()->add_supported_model_features( in BuildGetModelsResponse()
177 prediction_model->mutable_model_info()->set_version(2); in BuildGetModelsResponse()
[all …]
H A Dprediction_manager.cc485 PredictionModel* prediction_model = it->second.get(); in ShouldTargetNavigation() local
488 BuildFeatureMap(navigation_handle, prediction_model->GetModelFeatures(), in ShouldTargetNavigation()
494 prediction_model->Predict(feature_map, &prediction_score); in ShouldTargetNavigation()
505 optimization_target, prediction_model->GetVersion()); in ShouldTargetNavigation()
1015 std::unique_ptr<PredictionModel> prediction_model = in ProcessAndStorePredictionModel() local
1017 if (!prediction_model) { in ProcessAndStorePredictionModel()
1029 if (it->second->GetVersion() != prediction_model->GetVersion()) { in ProcessAndStorePredictionModel()
1030 it->second = std::move(prediction_model); in ProcessAndStorePredictionModel()
1228 std::unique_ptr<proto::PredictionModel> prediction_model = in OverrideTargetDecisionForTesting() local
1232 proto::ModelInfo* model_info = prediction_model->mutable_model_info(); in OverrideTargetDecisionForTesting()
[all …]
H A Dprediction_manager_unittest.cc65 prediction_model->mutable_model_info(); in CreatePredictionModel()
76 prediction_model->mutable_model()->set_download_url("someurl"); in CreatePredictionModel()
79 return prediction_model; in CreatePredictionModel()
99 std::unique_ptr<proto::PredictionModel> prediction_model = in BuildGetModelsResponse() local
102 prediction_model->mutable_model_info()->add_supported_model_features( in BuildGetModelsResponse()
107 prediction_model->mutable_model_info()->set_version(2); in BuildGetModelsResponse()
108 *get_models_response->add_models() = *prediction_model.get(); in BuildGetModelsResponse()
116 std::unique_ptr<proto::PredictionModel> prediction_model) in TestPredictionModel() argument
117 : PredictionModel(std::move(prediction_model)) {} in TestPredictionModel()
375 std::unique_ptr<PredictionModel> prediction_model = in CreatePredictionModel() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/services/machine_learning/public/cpp/
H A DBUILD.gn10 "decision_tree/prediction_model.h",
16 "decision_tree/prediction_model.cc",
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/optimization_guide/
H A Dstore_update_data_unittest.cc120 proto::PredictionModel prediction_model; in TEST() local
122 proto::ModelInfo* model_info = prediction_model.mutable_model_info(); in TEST()
133 prediction_model_update->CopyPredictionModelIntoUpdateData(prediction_model); in TEST()
H A Dstore_update_data.cc190 const proto::PredictionModel& prediction_model) { in CopyPredictionModelIntoUpdateData() argument
201 prediction_model.model_info().optimization_target())); in CopyPredictionModelIntoUpdateData()
205 entry_proto.mutable_prediction_model()->CopyFrom(prediction_model); in CopyPredictionModelIntoUpdateData()
H A Dstore_update_data.h73 const proto::PredictionModel& prediction_model);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/optimization_guide/proto/
H A Dhint_cache.proto59 optional PredictionModel prediction_model = 6; field

12