clear
close all
 MM=25;
 myPool=parpool(MM);
 addAttachedFiles(myPool,'ParallelizedConsensusClustering.m');
 addAttachedFiles(myPool,'clusterprocessor.m');
 addAttachedFiles(myPool,'kmeans.m');
 addAttachedFiles(myPool,'tanimoto_function.m');
 
 addAttachedFiles(myPool,'CategoricalImp1.xlsx');
 addAttachedFiles(myPool,'CategoricalImp2.xlsx');
 addAttachedFiles(myPool,'CategoricalImp3.xlsx');
 addAttachedFiles(myPool,'CategoricalImp4.xlsx'); 
 addAttachedFiles(myPool,'CategoricalImp5.xlsx');
 addAttachedFiles(myPool,'CategoricalImp6.xlsx');
 addAttachedFiles(myPool,'CategoricalImp7.xlsx');
 addAttachedFiles(myPool,'CategoricalImp8.xlsx'); 
 addAttachedFiles(myPool,'CategoricalImp9.xlsx');
 addAttachedFiles(myPool,'CategoricalImp10.xlsx'); 
 
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced1.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced2.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced3.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced4.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced5.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced6.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced7.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced8.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced9.xlsx');
 addAttachedFiles(myPool,'FemaleClusterRefinement_Reduced10.xlsx');
 
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation1.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation2.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation3.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation4.xlsx'); 
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation5.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation6.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation7.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation8.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation9.xlsx');
 addAttachedFiles(myPool,'StdDiary_ContinuousImputation10.xlsx');
 
 addAttachedFiles(myPool,'Females_FrequenciesOfCategoricalData_withAdditionalData.xlsx');
 
 
   %test weights between 0 and 1.2;
   XX=0:0.05:1.2; 
   spmd
   weight_bd=XX(labindex);   
   K=5000+labindex;
   yY=ParallelizedConsensusClustering(weight_bd,K);

   end