cb266bbe1ce215ec56cc54ee009ea3a2a055b6d8,superintendent/clustersupervisor.py,ClusterSupervisor,_annotation_iterator,#ClusterSupervisor#,65
Before Change
new_val = yield self._compose(features, [])
self.progressbar.value += 1
try:
self.new_labels[cluster] = float(new_val)
except ValueError:
self.new_clusters[cluster] = new_val
try:
self.new_labels[
self.cluster_labels == cluster
] = self.new_clusters[cluster]
After Change
and str(new_val) != "nan"
):
self.input_widget.options = self.input_widget.options + [
str(new_val)
]
self.cluster_names = self.new_clusters
yield self._render_finished()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: janfreyberg/superintendent
Commit Name: cb266bbe1ce215ec56cc54ee009ea3a2a055b6d8
Time: 2018-05-31
Author: janfreyberg@users.noreply.github.com
File Name: superintendent/clustersupervisor.py
Class Name: ClusterSupervisor
Method Name: _annotation_iterator
Project Name: lebedov/scikit-cuda
Commit Name: 4b842e478b82102e6c24017f2833416c4cafc95f
Time: 2014-10-31
Author: lev@columbia.edu
File Name: scikits/cuda/cublas.py
Class Name:
Method Name: _get_cublas_version
Project Name: nerox8664/pytorch2keras
Commit Name: 198d7eee040d0eb3c5183cdf50a6350db53a5623
Time: 2019-01-29
Author: nerox8664@gmail.com
File Name: pytorch2keras/converter.py
Class Name:
Method Name: get_leaf_id