Opened 8 years ago
Closed 8 years ago
#2669 closed defect (done)
TargetVariable information is lost in DataAnalysisModels
Reported by: | mkommend | Owned by: | mkommend |
---|---|---|---|
Priority: | high | Milestone: | HeuristicLab 3.3.15 |
Component: | Problems.DataAnalysis | Version: | 3.3.14 |
Keywords: | Cc: |
Description
With r13992 the target variable has been set to string.Empty. This has been implemented to avoid NullReferenceExceptions. However, the side effect has been that without a guarding if clause any saved target variable will be overwritten with an empty string causing a persistence break (e.g. SVM models).
Change History (7)
comment:1 Changed 8 years ago by mkommend
- Status changed from new to accepted
comment:2 Changed 8 years ago by mkommend
comment:3 Changed 8 years ago by mkommend
comment:4 Changed 8 years ago by bburlacu
r14290: Added setter for the TargetVariable property in the classification and regression model interfaces and adjusted implementing classes accordingly. Similarly, added a TargetVariableChanged event to the models.
comment:5 Changed 8 years ago by mkommend
- Status changed from accepted to reviewing
comment:6 Changed 8 years ago by mkommend
- Status changed from reviewing to readytorelease
comment:7 Changed 8 years ago by gkronber
- Resolution set to done
- Status changed from readytorelease to closed
Note: See
TracTickets for help on using
tickets.
r14289: Removed the after deserialization method that resets the targetVariable. Instead the initialization code has been added to the storable ctor.