Beispiel #1
0
def test_maui_saves_w():
    maui_model = Maui(n_hidden=[10], n_latent=2, epochs=1)
    z = maui_model.fit_transform({'d1': df1, 'd2': df2})
    w = maui_model.get_linear_weights()
    assert hasattr(maui_model, 'w_')
Beispiel #2
0
def test_maui_saves_w():
    maui_model = Maui(n_hidden=[10], n_latent=2, epochs=1)
    z = maui_model.fit_transform({"d1": df1, "d2": df2})
    w = maui_model.get_linear_weights()
    assert w is not None
    assert hasattr(maui_model, "w_")