Skip to content

require_all_predictors default #3

@DanielRichardBiber

Description

@DanielRichardBiber

Wondering if there is another place to set, require_all_predictors to 'False' other than "init"? I was hoping to increase the number of models the 'predictAll' method would produce. Switching the default value to 'False' did not seem to change the result.

self.require_all_predictors = False in the init method

epall = ep.EdgePrediction()
s = epall.CSV_to_graph('data.csv', header=True, srcNameCol=0, srcTypeCol=1, tgtNameCol=4, tgtTypeCol=3, edgeTypeCol=2)
epall.preprocess()
epall.to_predict = 'HAS_SIDE_EFFECT'
epall.network_order = ['HAS_SIDE_EFFECT', 'DRUG_TARGETS', 'INDICATED_FOR']

AllResult = epall.predictAll(calculate_auc = True)

still produces several results that indicate:

self.require_all_predictors is True and x/3 networks have 0 predictor overlap
not optimizing a model for CXXXXX

Again my main goal is to just generate a higher percentage of models. Thank you for your time and attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions