Пример #1
0
 def load_NN():
     """
     Loads the Keras NN model for a user-trained metric.
     """
     nn = KerasNN(name)
     nn.load('../data/nns/{}.h5'.format(name))
     return ('nn', nn)
Пример #2
0
def load_mp():
    """
    Loads the Keras NN model for melting point.
    """
    cnn_mp = KerasNN('mp')
    cnn_mp.load('../data/nns/mp.h5')
    return ('cnn', cnn_mp)
Пример #3
0
def load_bandgap():
    """
    Loads the Keras NN model for H**O-LUMO energy
    difference.
    """
    cnn_bandgap = KerasNN('bandgap')
    cnn_bandgap.load('../data/nns/bandgap.h5')
    return ('cnn', cnn_bandgap)
Пример #4
0
def load_PCE():
    """
    Loads the Keras NN model for Power Conversion
    Efficiency.
    """
    cnn_pce = KerasNN('pce')
    cnn_pce.load('../data/nns/pce.h5')
    return ('cnn', cnn_pce)