|  | 
| 27 | 27 | 
 | 
| 28 | 28 | namespace Microsoft.ML.Runtime.FastTree | 
| 29 | 29 | { | 
| 30 |  | -    /// <summary> | 
| 31 |  | -    /// The Tweedie boosting model follows the mathematics established in: | 
| 32 |  | -    /// Yang, Quan, and Zou. "Insurance Premium Prediction via Gradient Tree-Boosted Tweedie Compound Poisson Models." | 
| 33 |  | -    /// https://arxiv.org/pdf/1508.06378.pdf | 
| 34 |  | -    /// </summary> | 
|  | 30 | +    // The Tweedie boosting model follows the mathematics established in: | 
|  | 31 | +    // Yang, Quan, and Zou. "Insurance Premium Prediction via Gradient Tree-Boosted Tweedie Compound Poisson Models." | 
|  | 32 | +    // https://arxiv.org/pdf/1508.06378.pdf | 
|  | 33 | +    /// <include file='./doc.xml' path='docs/members/member[@name="FastTreeTweedieRegression"]/*' /> | 
| 35 | 34 |     public sealed partial class FastTreeTweedieTrainer : BoostingFastTreeTrainerBase<FastTreeTweedieTrainer.Arguments, FastTreeTweediePredictor> | 
| 36 | 35 |     { | 
| 37 | 36 |         public const string LoadNameValue = "FastTreeTweedieRegression"; | 
| 38 | 37 |         public const string UserNameValue = "FastTree (Boosted Trees) Tweedie Regression"; | 
| 39 | 38 |         public const string Summary = "Trains gradient boosted decision trees to fit target values using a Tweedie loss function. This learner is a generalization of Poisson, compound Poisson, and gamma regression."; | 
| 40 |  | -        new public const string Remarks = @"<remarks> | 
| 41 |  | -<a href='https://en.wikipedia.org/wiki/Gradient_boosting#Gradient_tree_boosting'>Wikipedia: Gradient boosting (Gradient tree boosting)</a> | 
| 42 |  | -<a href='http://projecteuclid.org/DPubS?service=UI&version=1.0&verb=Display&handle=euclid.aos/1013203451'>Greedy function approximation: A gradient boosting machine</a> | 
| 43 |  | -</remarks>"; | 
| 44 |  | - | 
| 45 | 39 |         public const string ShortName = "fttweedie"; | 
| 46 | 40 | 
 | 
| 47 | 41 |         private TestHistory _firstTestSetHistory; | 
| @@ -466,7 +460,8 @@ public static partial class FastTree | 
| 466 | 460 |         [TlcModule.EntryPoint(Name = "Trainers.FastTreeTweedieRegressor", | 
| 467 | 461 |             Desc = FastTreeTweedieTrainer.Summary, | 
| 468 | 462 |             UserName = FastTreeTweedieTrainer.UserNameValue, | 
| 469 |  | -            ShortName = FastTreeTweedieTrainer.ShortName)] | 
|  | 463 | +            ShortName = FastTreeTweedieTrainer.ShortName, | 
|  | 464 | +            XmlInclude = new [] { @"<include file='../Microsoft.ML.FastTree/doc.xml' path='docs/members/member[@name=""FastTreeTweedieRegression""]/*' />" })] | 
| 470 | 465 |         public static CommonOutputs.RegressionOutput TrainTweedieRegression(IHostEnvironment env, FastTreeTweedieTrainer.Arguments input) | 
| 471 | 466 |         { | 
| 472 | 467 |             Contracts.CheckValue(env, nameof(env)); | 
|  | 
0 commit comments