b7545b3317db0ebcee547d9b80e36ec6dff9d625,Orange/widgets/utils/scaling.py,ScaleData,flip_attribute,#ScaleData#Any#,103
Before Change
-self.attr_values[attr][0]]
self.jittered_data[index] = 1 - self.jittered_data[index]
self.scaled_data[index] = 1 - self.scaled_data[index]
return 1
def get_valid_list(self, indices):
After Change
col = self.jittered_data.get_column_view(attr)[0]
col *= -1
col += 1
col = self.scaled_data.get_column_view(attr)[0]
col *= -1
col += 1
return 1
def get_valid_list(self, attrs):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: biolab/orange3
Commit Name: b7545b3317db0ebcee547d9b80e36ec6dff9d625
Time: 2017-11-17
Author: lan.zagar@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: flip_attribute
Project Name: biolab/orange3
Commit Name: 9b262f2dc9ea11ce93ea77d7a071873f2a09ba56
Time: 2017-11-09
Author: jerneju@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: _compute_scaled_data
Project Name: biolab/orange3
Commit Name: 9b262f2dc9ea11ce93ea77d7a071873f2a09ba56
Time: 2017-11-09
Author: jerneju@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: flip_attribute
Project Name: biolab/orange3
Commit Name: b7545b3317db0ebcee547d9b80e36ec6dff9d625
Time: 2017-11-17
Author: lan.zagar@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: _compute_scaled_data