| 7 | |
| 8 | namespace NMonoForest { |
| 9 | static TPolynom BuildPolynom(const TAdditiveModel<TObliviousTree>& additiveModel) { |
| 10 | TPolynomBuilder polynomBuilder; |
| 11 | for (auto idx : xrange(additiveModel.Size())) { |
| 12 | polynomBuilder.AddTree(additiveModel.GetWeakModel(idx)); |
| 13 | } |
| 14 | return polynomBuilder.Build(); |
| 15 | } |
| 16 | |
| 17 | TVector<THumanReadableMonom> ConvertFullModelToPolynom(const TFullModel& fullModel) { |
| 18 | const auto importer = MakeCatBoostImporter(fullModel); |
no test coverage detected