/// <summary> /// Initializes a new instance of the <see cref="AdaBoost<TModel>"/> 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(); }
/// <summary> /// Initializes a new instance of the <see cref="AdaBoost<TModel>"/> class. /// </summary> /// /// <param name="model">The model to be learned.</param> /// public AdaBoost(Boost <TModel> model) { this.classifier = model; this.convergence = new RelativeConvergence(); }