0ec2c80b80ddbef7b066510033876f060c1bb32c,Orange/widgets/unsupervised/owmanifoldlearning.py,OWManifoldLearning,apply,#OWManifoldLearning#,290
Before Change
if have_data and data.is_sparse():
self.Error.sparse_not_supported()
elif have_data:
domain = Domain([ContinuousVariable("C{}".format(i))
for i in range(self.n_components)],
data.domain.class_vars,
data.domain.metas)
try:
warnings.warn = _handle_disconnected_graph_warning
projector = method(**self.get_method_parameters(data, method))
model = projector(data)
After Change
names = [var.name for var in chain(data.domain.class_vars,
data.domain.metas) if var]
proposed = ["C{}".format(i) for i in range(self.n_components)]
unique = get_unique_names(names, proposed)
domain = Domain([ContinuousVariable(name) for name in unique],
data.domain.class_vars,
data.domain.metas)
try:
warnings.warn = _handle_disconnected_graph_warning
projector = method(**self.get_method_parameters(data, method))
model = projector(data)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: biolab/orange3
Commit Name: 0ec2c80b80ddbef7b066510033876f060c1bb32c
Time: 2020-05-16
Author: kovacic.andreja@gmail.com
File Name: Orange/widgets/unsupervised/owmanifoldlearning.py
Class Name: OWManifoldLearning
Method Name: apply
Project Name: biolab/orange3
Commit Name: c153d945b6a261e8d7113c62ac0ced9bb8435c6f
Time: 2017-06-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_classification.py
Class Name: ModelTest
Method Name: test_probs_from_value
Project Name: biolab/orange3
Commit Name: cdcf39d70b5c4316301a392b42b1cf8371cd89f9
Time: 2020-05-21
Author: kovacic.andreja@gmail.com
File Name: Orange/widgets/unsupervised/owpca.py
Class Name: OWPCA
Method Name: commit