|
run(cls,
inFile,
multiplier=1.0,
outFile=None,
targetLabel=' neg ' ,
binary=False)
inFile can be a string with file name (.xml or .xml.gz) or an
ElementTree or an Element or an open input stream multiplier adjusts
the level of boosting the non-negative predictions, it is a real
number (0,inf) multiplier 1.0 does nothing, <1.0 decreases
negative class confidence, >1.0 increases negative class
confidence the root of the modified tree is returned and, if outFile
is a string, written out to outFile as well |
source code
|
|