Example #1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="AdaBoost&lt;TModel&gt;"/> class.
 /// </summary>
 ///
 /// <param name="model">The model to be learned.</param>
 /// <param name="creationFunction">The model fitting function.</param>
 ///
 public AdaBoost(Boost <TModel> model, ModelConstructor <TModel> creationFunction)
 {
     this.classifier  = model;
     this.Creation    = creationFunction;
     this.convergence = new RelativeConvergence();
 }
Example #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="AdaBoost&lt;TModel&gt;"/> class.
 /// </summary>
 ///
 /// <param name="model">The model to be learned.</param>
 ///
 public AdaBoost(Boost <TModel> model)
 {
     this.classifier  = model;
     this.convergence = new RelativeConvergence();
 }