3 writes to Name
Microsoft.ML.AutoML (3)
Utils\SweepableParamAttributes.cs (3)
53Name = name; 132Name = name; 179Name = name;
24 references to Name
Microsoft.ML.AutoML (24)
Experiment\SuggestedTrainer.cs (2)
59paramsStr = string.Join(", ", SweepParams.Where(p => p != null && p.RawValue != null).Select(p => $"{p.Name}:{p.ProcessedValue()}")); 80var spMap = SweepParams.ToDictionary(sp => sp.Name);
PipelineSuggesters\PipelineSuggester.cs (3)
142Name = dp.Name, 151Name = fp.Name, 170Name = lp.Name,
TrainerExtensions\BinaryTrainerExtensions.cs (2)
39if (!sweepParams.Any(p => p.Name == "NumberOfIterations")) 51if (sweepParams == null || !sweepParams.Any(p => p.Name != "NumberOfIterations"))
TrainerExtensions\SweepableParams.cs (1)
217return new HashSet<string>(sweepableParams.Select(p => p.Name));
TrainerExtensions\TrainerExtensionUtil.cs (7)
92var boosterParams = sweepParams.Where(p => _lightGbmBoosterParamNames.Contains(p.Name)); 149props[sweepParam.Name] = sweepParam.ProcessedValue(); 170var boosterParams = sweepParams.Where(p => _lightGbmBoosterParamNames.Contains(p.Name)); 173var boosterProps = boosterParams.ToDictionary(p => p.Name, p => (object)p.ProcessedValue()); 176props = parentArgParams.ToDictionary(p => p.Name, p => (object)p.ProcessedValue()); 264var fi = obj.GetType().GetField(param.Name); 296throw new InvalidOperationException($"Cannot set parameter {param.Name} for {obj.GetType()}");
Utils\SweepableParamAttributes.cs (9)
110new SweepableDiscreteParam(Name, Options) { RawValue = RawValue, Frozen = Frozen }; 114var name = string.IsNullOrEmpty(Name) ? "" : $"\"{Name}\", "; 152new SweepableFloatParam(Name, Min, Max, StepSize ?? -1, NumSteps ?? -1, IsLogScale) { RawValue = RawValue, Frozen = Frozen }; 163var name = string.IsNullOrEmpty(Name) ? "" : $"\"{Name}\", "; 199new SweepableLongParam(Name, Min, Max, StepSize ?? -1, NumSteps ?? -1, IsLogScale) { RawValue = RawValue, Frozen = Frozen }; 210var name = string.IsNullOrEmpty(Name) ? "" : $"\"{Name}\", ";