/// <summary> /// Combines two sets of hyperparameters together, by adding from another manager into this one. /// </summary> /// <param name="other">The other <see cref="HyperParameterManager"/>.</param> /// <returns>The number of hyperparameters added.</returns> public int AddFromExistingHyperParameterSet(HyperParameterManager other) { var numAdded = 0; for (var i = 0; i < other.HyperParameters.Count; i++) { if (AddOrReplaceHyperParameter( other.HyperParameters.GetDecisionSpace().ElementAt(i), other.HyperParameters[i])) { numAdded++; } } return(numAdded); }
protected OptimiserBuilder() { HyperParameters = new HyperParameterManager(); }