示例#1
0
文件: owtsne.py 项目: biolab/orange3
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.pca_projection = None  # type: Optional[Table]
     self.initialization = None  # type: Optional[np.ndarray]
     self.affinities = None      # type: Optional[openTSNE.affinity.Affinities]
     self.tsne_embedding = None  # type: Optional[manifold.TSNEModel]
     self.iterations_done = 0    # type: int
示例#2
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.pca_projection = None  # type: Optional[Table]
     self.initialization = None  # type: Optional[np.ndarray]
     self.affinities = None      # type: Optional[openTSNE.affinity.Affinities]
     self.tsne_embedding = None  # type: Optional[manifold.TSNEModel]
     self.iterations_done = 0    # type: int
示例#3
0
 def __init__(self):
     self.dbscan_box: QWidget = None
     self.gmm_box: QWidget = None
     self.var_box: QWidget = None
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.clusters: Optional[_Clusters] = None
     self.enable_controls()
     self._invalidate_clusters()
示例#4
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     # inputs
     self.reference_data = None  # type: Optional[Table]
     self.secondary_data = None  # type: Optional[Table]
     self.genes = None  # type: Optional[Table]
     # annotations
     self.scores = None  # type: OWAnnotateProjection.Scores
     self.clusters = None  # type: OWAnnotateProjection.Clusters
     self.__invalidate_scores()
     self.__invalidate_clusters()
示例#5
0
    def __init__(self):
        OWDataProjectionWidget.__init__(self)
        ConcurrentWidgetMixin.__init__(self)
        #: Input dissimilarity matrix
        self.matrix = None  # type: Optional[DistMatrix]
        #: Data table from the `self.matrix.row_items` (if present)
        self.matrix_data = None  # type: Optional[Table]
        #: Input data table
        self.signal_data = None

        self.embedding = None  # type: Optional[np.ndarray]
        self.effective_matrix = None  # type: Optional[DistMatrix]

        self.graph.pause_drawing_pairs()

        self.size_model = self.gui.points_models[2]
        self.size_model.order = \
            self.gui.points_models[2].order[:1] \
            + ("Stress", ) + \
            self.gui.points_models[2].order[1:]
示例#6
0
    def __init__(self):
        OWDataProjectionWidget.__init__(self)
        ConcurrentWidgetMixin.__init__(self)
        #: Input dissimilarity matrix
        self.matrix = None  # type: Optional[DistMatrix]
        #: Data table from the `self.matrix.row_items` (if present)
        self.matrix_data = None  # type: Optional[Table]
        #: Input data table
        self.signal_data = None

        self.embedding = None  # type: Optional[np.ndarray]
        self.effective_matrix = None  # type: Optional[DistMatrix]

        self.graph.pause_drawing_pairs()

        self.size_model = self.gui.points_models[2]
        self.size_model.order = \
            self.gui.points_models[2].order[:1] \
            + ("Stress", ) + \
            self.gui.points_models[2].order[1:]
示例#7
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.embedding = None  # type: Optional[np.ndarray]
示例#8
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.embedding = None  # type: Optional[np.ndarray]