Beispiel #1
0
def opal_registration():
    from bedrock.core.opals import manage_opals
    algs = ['Load']
    for alg in algs:
        success = manage_opals("add", "ingest", "opals.cycle2_1_load.{0}.{0}".format(alg))
        if not success:
            success = manage_opals("reload", "ingest", "opals.cycle2_1_load.{0}.{0}".format(alg))
            if not success:
                raise Exception("Unable to install: {}".format(alg))
Beispiel #2
0
def opalRegistration():
    from bedrock.core.opals import manage_opals
    algs = ['Aggregate']
    for alg in algs:
        success = manage_opals("add", "analytics",
                               "opals.aggregate.{0}.{0}".format(alg))
        if (success == False):
            success = manage_opals("reload", "analytics",
                                   "opals.aggregate.{0}.{0}".format(alg))
            if (success == False):
                raise
def opalRegistration():
    from bedrock.core.opals import manage_opals
    algs = ['Stan_GLM']
    for alg in algs:
        success = manage_opals("add", "analytics",
                               "opals.stan.{0}.{1}".format('Stan', alg))
        if (success == False):
            success = manage_opals("reload", "analytics",
                                   "opals.stan.{0}.{1}".format('Stan', alg))
            if (success == False):
                raise
def opalRegistration():
    from bedrock.core.opals import manage_opals
    algs = ['Wilcoxon']
    for alg in algs:
        success = manage_opals("add", "analytics",
                               "opals.statstests.{0}.{0}".format(alg))
        if (success == False):
            success = manage_opals("reload", "analytics",
                                   "opals.statstests.{0}.{0}".format(alg))
            if (success == False):
                raise
def opal_registration():
    from bedrock.core.opals import manage_opals
    algs = ['HypothesisTesting']
    for alg in algs:
        success = manage_opals(
            "add", "analytics",
            "opals.cycle2_5_hypothesis_testing.{0}.{0}".format(alg))
        if not success:
            success = manage_opals(
                "reload", "analytics",
                "opals.cycle2_5_hypothesis_testing.{0}.{0}".format(alg))
            if not success:
                raise Exception("Unable to install: {}".format(alg))
Beispiel #6
0
def opalRegistration():
    from bedrock.core.opals import manage_opals
    algs = [
        'SelectByIndex', 'SelectByIndex', 'SelectByCondition',
        'SelectByComplexCondition'
    ]
    for alg in algs:
        success = manage_opals(
            "add", "analytics",
            "opals.select-from-dataframe.{0}.{0}".format(alg))
        if (success == False):
            success = manage_opals(
                "reload", "analytics",
                "opals.select-from-dataframe.{0}.{0}".format(alg))
            if (success == False):
                raise