def get_documentation(): doc = str(PrecomputedKNN.__doc__) mapping = { "For usage instructions, check :py:obj:`~immuneML.ml_methods.SklearnMethod.SklearnMethod`.": SklearnMethod.get_usage_documentation("KNN"), } doc = update_docs_per_mapping(doc, mapping) return doc
def get_documentation(): doc = str(RandomForestClassifier.__doc__) mapping = { "For usage instructions, check :py:obj:`~immuneML.ml_methods.SklearnMethod.SklearnMethod`.": SklearnMethod.get_usage_documentation("RandomForestClassifier"), } doc = update_docs_per_mapping(doc, mapping) return doc
def get_documentation(): doc = str(LogisticRegression.__doc__) mapping = { "For usage instructions, check :py:obj:`~immuneML.ml_methods.SklearnMethod.SklearnMethod`.": SklearnMethod.get_usage_documentation("LogisticRegression"), } doc = update_docs_per_mapping(doc, mapping) return doc