98694f1b209f04c902c8ed34f911fbe5281b0360,Orange/widgets/classify/owlogisticregression.py,OWLogisticRegression,set_c,#OWLogisticRegression#,63
Before Change
if self.C >= 1:
self.c_label.setText("C={}".format(int(self.C)))
else:
self.c_label.setText("C={:.3f}".format(self.C))
def set_data(self, data):
self.data = data
After Change
self.C = (self.C // 10) * 10
elif self.C >= 1:
self.C = round(self.C, 0)
elif self.C > 0.2:
self.C = round(self.C * 20) / 20
else:
self.C = round(self.C, 3)
if self.C >= 1:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: biolab/orange3
Commit Name: 98694f1b209f04c902c8ed34f911fbe5281b0360
Time: 2015-07-27
Author: janez@folio.fri1.uni-lj.si
File Name: Orange/widgets/classify/owlogisticregression.py
Class Name: OWLogisticRegression
Method Name: set_c
Project Name: KaiyangZhou/deep-person-reid
Commit Name: b88d36cd9c8056e15607a40f5d10a9072ab84b22
Time: 2018-07-06
Author: k.zhou@qmul.ac.uk
File Name: train_imgreid_xent.py
Class Name:
Method Name: main
Project Name: KaiyangZhou/deep-person-reid
Commit Name: b88d36cd9c8056e15607a40f5d10a9072ab84b22
Time: 2018-07-06
Author: k.zhou@qmul.ac.uk
File Name: train_vidreid_xent.py
Class Name:
Method Name: main