Commits

Miha Stajdohar committed e70d3aa

Docs update.

Comments (0)

Files changed (2)

examples/modelmix/mixwbcd.py

 
   python mixwbcd.py -n 500 .
 
-This should create a model map in the current folder.
+This will create a model map in the current folder.
 
 """
 import argparse
 
 
 if __name__ == '__main__':
-    parser = argparse.ArgumentParser(description='NGS reads demultiplexer.')
+    parser = argparse.ArgumentParser(description='Build a model map on Wisconsin Brest Cancer Dataset.')
 
     parser.add_argument('output_dir', help='output directory')
     parser.add_argument('-n', type=int, default=500, help='maximum number of models of one model type')
     table = build_map.build_model_data(final_models)
     smx = build_map.build_model_matrix(final_models, mm.distance_euclidean)
 
-    mm.save(os.path.join(args.output_dir, "wbcd_{}_{}".format(smx.dim, sys.platform)), smx, table, data)
+    mm.save(os.path.join(args.output_dir, "mix_wbcd_{}_{}".format(smx.dim, sys.platform)), smx, table, data)

examples/modelmix/mixzoo.py

 .. index:: model map
 
 ========================
-Model map on Zoo Dataset
+Model map on Zoo dataset
 ========================
 
 Script :download:`mixzoo.py <../../examples/modelmix/mixzoo.py>` builds a model map on 7 kinds of models. 3 are classic classification models:
 
   python mixzoo.py -n 500 .
 
-This should create a model map in the current folder.
+This will create a model map in the current folder.
 
 """
 import argparse
 
 
 if __name__ == '__main__':
-    parser = argparse.ArgumentParser(description='NGS reads demultiplexer.')
+    parser = argparse.ArgumentParser(description='Build a model map on Zoo dataset.')
 
     parser.add_argument('output_dir', help='output directory')
     parser.add_argument('-n', type=int, default=500, help='maximum number of models of one model type')
     table = build_map.build_model_data(final_models)
     smx = build_map.build_model_matrix(final_models, mm.distance_euclidean)
 
-    mm.save(os.path.join(args.output_dir, "zoo_{}_{}".format(smx.dim, sys.platform)), smx, table, data)
+    mm.save(os.path.join(args.output_dir, "mix_zoo_{}_{}".format(smx.dim, sys.platform)), smx, table, data)