Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Num Assign NameStore Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str Str Str Dict Str Str Str Str Str Str Str Str Dict ListLoad Dict ListLoad Dict ListLoad Dict Str Str Str Str Str Str Str Str Dict ListLoad Dict Str Str Str Str Dict Str Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Num Num Assign NameStore ListLoad ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Num Num Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad Str Num decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad
N/A N/A unittest N/A json N/A msgpackrpc jubatus.classifier.client Classifier jubatus.classifier.types * jubatus_test.test_util TestUtil jubatus.common Datum N/A host 127.0.0.1 N/A port 21001 N/A timeout 10 ClassifierTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self config N/A method converter parameter AROW N/A string_filter_types string_filter_rules num_filter_types num_filter_rules string_types string_rules num_types num_rules N/A N/A N/A N/A N/A N/A N/A key type sample_weight global_weight * str bin bin N/A N/A N/A key type * num N/A regularization_weight 1.001 N/A N/A N/A TestUtil write_file config_classifier.json N/A N/A json dumps N/A self config N/A N/A self srv N/A N/A TestUtil fork_process classifier port config_classifier.json N/A N/A N/A N/A self cli N/A Classifier host port name N/A N/A N/A N/A N/A N/A TestUtil kill_process N/A self srv N/A N/A tearDown N/A N/A self N/A N/A N/A N/A self cli N/A N/A N/A N/A N/A N/A N/A self cli get_client close N/A N/A N/A TestUtil kill_process N/A self srv N/A test_get_client N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A self cli get_client N/A N/A msgpackrpc client Client N/A test_get_config N/A N/A self N/A N/A N/A config N/A N/A N/A self cli get_config N/A N/A N/A self assertEqual N/A N/A json dumps N/A N/A json loads config sort_keys True N/A N/A json dumps N/A self config sort_keys True N/A test_train N/A N/A self N/A N/A N/A d N/A Datum N/A skey1 skey2 nkey1 nkey2 val1 val2 1.0 2.0 N/A data N/A N/A label d N/A N/A N/A self assertEqual N/A N/A N/A self cli train data 1 N/A test_classify N/A N/A self N/A N/A N/A d N/A Datum N/A skey1 skey2 nkey1 nkey2 val1 val2 1.0 2.0 N/A data N/A d N/A result N/A N/A N/A self cli classify data N/A test_set_label N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self cli set_label label True N/A test_get_labels N/A N/A self N/A N/A N/A N/A N/A N/A self cli set_label label N/A N/A N/A self assertEqual N/A N/A N/A self cli get_labels N/A label 0 N/A test_delete_label N/A N/A self N/A N/A N/A N/A N/A N/A self cli set_label label N/A N/A N/A self assertEqual N/A N/A N/A self cli delete_label label True N/A test_save N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A len N/A N/A N/A self cli save classifier.save_test.model 1 N/A test_load N/A N/A self N/A N/A N/A model_name classifier.load_test.model N/A N/A N/A N/A self cli save model_name N/A N/A N/A self assertEqual N/A N/A N/A self cli load model_name True N/A test_get_status N/A N/A self N/A N/A N/A N/A N/A N/A self cli get_status N/A test_str N/A N/A self N/A N/A N/A N/A N/A self assertEqual estimate_result{label: label, score: 1.0} N/A str N/A EstimateResult label 1.0 N/A N/A N/A N/A __name__ __main__ N/A N/A test_suite N/A N/A N/A N/A unittest TestLoader loadTestsFromTestCase ClassifierTest N/A N/A N/A N/A N/A unittest TextTestRunner run test_suite