Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 2f42d512 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

removed some stray prints

parent 82bdaf6c
...@@ -169,7 +169,6 @@ def cforange_confusion_matrix(input_dict): ...@@ -169,7 +169,6 @@ def cforange_confusion_matrix(input_dict):
cm = orngStat.confusionMatrices(results,classIndex=classIndex) cm = orngStat.confusionMatrices(results,classIndex=classIndex)
if len(cm)==1: if len(cm)==1:
cm = cm[0] cm = cm[0]
print cm
output_dict = {} output_dict = {}
output_dict['cm']=cm output_dict['cm']=cm
return output_dict return output_dict
...@@ -428,7 +427,6 @@ def cforange_hierarchical_clustering_finished(postdata, input_dict, output_dict) ...@@ -428,7 +427,6 @@ def cforange_hierarchical_clustering_finished(postdata, input_dict, output_dict)
centroids = orange.ExampleTable(selected_table.domain) centroids = orange.ExampleTable(selected_table.domain)
if len(selected_table) > 0: if len(selected_table) > 0:
for cluster in sorted(selected_clusters): for cluster in sorted(selected_clusters):
print [ex for ex in selected_table if ex[clustVar] == "Cluster %d" % cluster]
clusterEx = orange.ExampleTable([ex for ex in selected_table if ex[clustVar] == "Cluster %d" % cluster]) clusterEx = orange.ExampleTable([ex for ex in selected_table if ex[clustVar] == "Cluster %d" % cluster])
# Attribute statistics # Attribute statistics
contstat = orange.DomainBasicAttrStat(clusterEx) contstat = orange.DomainBasicAttrStat(clusterEx)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment