Permalink
Browse files

default hierarchy to empty list for combining classifiers

  • Loading branch information...
1 parent ba2f61a commit a6d99baca706ea06e2d8121bb200e19f4e1f7f9f @japerk committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 combine_classifiers.py
View
@@ -15,7 +15,7 @@
help='Filename to pickle combined classifier, defaults to %(default)s')
parser.add_argument('--trace', default=1, type=int,
help='How much trace output you want, defaults to 1. 0 is no trace output.')
-parser.add_argument('--hierarchy', nargs='+',
+parser.add_argument('--hierarchy', nargs='+', default=[],
help='''Mapping of labels to classifier pickle paths to specify a classification hierarchy, such as
"-h neutral:classifiers/movie_reviews.pickle"
''')

0 comments on commit a6d99ba

Please sign in to comment.