def test_FFNN_200_enhancers():
    models = []
    kwargs = []
    epigenomes, labels = retrieving_data('GM12878')
    set_shape(epigenomes, 'enhancers')
    model_ffnn, kwargs_ffnn = ffnn(200, 1024)
    models.append(model_ffnn)
    kwargs.append(kwargs_ffnn)
    train(epigenomes, labels, models, kwargs, 'enhancers', 'GM12878')
示例#2
0
def test_perceptron_200_promoters():
    models = []
    kwargs = []
    epigenomes, labels = retrieving_data('GM12878')
    set_shape(epigenomes, 'promoters')
    model_perc, kwargs_perc = perceptron(200, 1024)
    models.append(model_perc)
    kwargs.append(kwargs_perc)
    train(epigenomes, labels, models, kwargs, 'promoters', 'GM12878')