Changeset 13705
- Timestamp:
- 03/15/16 15:49:52 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r13102 r13705 195 195 <Compile Include="ProblemDataView.Designer.cs"> 196 196 <DependentUpon>ProblemDataView.cs</DependentUpon> 197 </Compile> 198 <Compile Include="Regression\RegressionEnsembleSolutionModelWeightsView.cs"> 199 <SubType>UserControl</SubType> 200 </Compile> 201 <Compile Include="Regression\RegressionEnsembleSolutionModelWeightsView.Designer.cs"> 202 <DependentUpon>RegressionEnsembleSolutionModelWeightsView.cs</DependentUpon> 197 203 </Compile> 198 204 <Compile Include="Regression\RegressionFeatureCorrelationView.cs"> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionEnsembleSolutionModelView.cs
r12012 r13705 63 63 protected override void SetEnabledStateOfControls() { 64 64 base.SetEnabledStateOfControls(); 65 addButton.Enabled = Content != null && !Content.IsReadOnly && !Locked;66 removeButton.Enabled = Content != null && !Content.IsReadOnly && !Locked && itemsListView.SelectedItems.Count > 0;65 addButton.Enabled = false; 66 removeButton.Enabled = Content != null && !Content.IsReadOnly && !Locked && !ReadOnly && itemsListView.SelectedItems.Count > 0; 67 67 itemsListView.Enabled = Content != null && !Locked; 68 68 detailsGroupBox.Enabled = Content != null && itemsListView.SelectedItems.Count == 1; 69 sortAscendingButton.Enabled = false; 70 sortDescendingButton.Enabled = false; 69 71 } 70 72 -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleModel.cs
r13704 r13705 155 155 public IEnumerable<IEnumerable<double>> GetEstimatedValueVectors(IDataset dataset, IEnumerable<int> rows) { 156 156 var estimatedValuesEnumerators = (from model in models 157 select model.GetEstimatedValues(dataset, rows).GetEnumerator()) 158 .ToList(); 157 let weight = GetModelWeight(model) 158 select model.GetEstimatedValues(dataset, rows).Select(e => weight * e) 159 .GetEnumerator()).ToList(); 159 160 160 161 while (estimatedValuesEnumerators.All(en => en.MoveNext())) {
Note: See TracChangeset
for help on using the changeset viewer.