(v)
| 199 | |
| 200 | |
| 201 | def str2bool(v): |
| 202 | if v.lower() in ('yes', 'true', 't', 'y', '1'): |
| 203 | return True |
| 204 | elif v.lower() in ('no', 'false', 'f', 'n', '0'): |
| 205 | return False |
| 206 | else: |
| 207 | raise argparse.ArgumentTypeError('Boolean value expected.') |
| 208 | |
| 209 | |
| 210 | class ClassificationPredSaver(object): |
nothing calls this directly
no outgoing calls
no test coverage detected