Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multi label base architecture (#507)
* add : `MultiLabelCM` base. * add : `__mlcm_assign_classes__` and `__mlcm_vector_handler__`. * log : changes logged. * pep8 : autopep8ed. * replace : functions moved to `pycm_multilabel_cm.py`. * update : `__mlcm_vector_filter__` added as a wraper. * add : `MultiLabelCM` added to `__init__`. * update : `MultiLabelCM` updated. * update : base architecture completed. * fix : removed extra `print`. * change : `MultiLabelCM.__len__` changed to classes' length. * fix : `MultiLabelCM.__str__` docstring added. * add : `actual_vector_multihot` and `predict_vector_multihot`. * fix : docstring fixed. * fix : `MultiLabelCM` class docstring fixed. * remove : extra import removed. * fix : docstring fixed. * add : `pycmIndexError` and `pycmNotWorkingError`. * add : `classwise_cm` and `samplewise_cm` methods. * test : tests added for `MultiLabelCM`. * log : changes logged. * add : new line added. * rename : `S` -> `input_set` in `__set_to_multihot__`. * edit : `__str__` updated. * add : `pycmMultiLabelError` added and extra error classes removed. * change : support for multi-hop input removed. * test : tests added. * fix : verified tests updated * fix : multilabel tests updated * fix : multilabel tests updated * fix : an error message fixed to generlize the error condition. * rename : `samplewise_cm` -> `get_cm_by_sample`. * rename : `classwise_cm` -> `get_cm_by_class`. * doc : multilabel document updated * doc : README updated * doc : minor edit in Document * doc : CHANGELOG updated * fix : docstring fixed. * fix : meeting's comment applied. * test : tests added. * doc : multilabel document updated * doc : README updated * doc : minor bug in Document fixed * fix : minor edit in multilabel tests * doc : multilabel output added to README * doc : Document input-error section updated --------- Co-authored-by: sepandhaghighi <sepand.haghighi@yahoo.com>
- Loading branch information