03c4b0c6e6f8f19514d46defcde14688251f313c,Orange/widgets/unsupervised/owmds.py,OWMDSGraph,compute_sizes,#OWMDSGraph#,58
Before Change
self.master.Information.missing_size.clear()
if self.attr_size is None:
size_data = np.full((self.n_points,), self.point_width,
dtype=float)
elif self.attr_size == "Stress":
size_data = scale(stress(self.master.embedding, self.master.effective_matrix))
size_data = self.MinShapeSize + size_data * self.point_width
else:
After Change
Handle "Stress" size option.
Everything else is passed to Scatterplot"s compute_sizes
if self.attr_size != "Stress":
return super().compute_sizes()
def scale(a):
dmin, dmax = np.nanmin(a), np.nanmax(a)
if dmax - dmin > 0:
return (a - dmin) / (dmax - dmin)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: biolab/orange3
Commit Name: 03c4b0c6e6f8f19514d46defcde14688251f313c
Time: 2018-08-24
Author: tomaz.hocevar@fri.uni-lj.si
File Name: Orange/widgets/unsupervised/owmds.py
Class Name: OWMDSGraph
Method Name: compute_sizes
Project Name: Alexander-H-Liu/End-to-end-ASR-Pytorch
Commit Name: e3c4a40fa2e5c76656ba0f210213e427683b3ad5
Time: 2019-10-31
Author: alexliu36@gmail.com
File Name: src/ctc.py
Class Name: CTCPrefixScore
Method Name: cheap_compute
Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 2ee8ac1546400645908b61ef015cdf5d71aa34cc
Time: 2019-04-22
Author: eriklindernoren@live.se
File Name: utils/datasets.py
Class Name:
Method Name: pad_to_square