(nx, class_to_test)
| 62 | ], |
| 63 | ) |
| 64 | def test_log_da(nx, class_to_test): |
| 65 | ns = 50 |
| 66 | nt = 50 |
| 67 | |
| 68 | Xs, ys = make_data_classif("3gauss", ns) |
| 69 | Xt, yt = make_data_classif("3gauss2", nt) |
| 70 | |
| 71 | Xs, ys, Xt, yt = nx.from_numpy(Xs, ys, Xt, yt) |
| 72 | |
| 73 | otda = class_to_test(log=True) |
| 74 | |
| 75 | # test its computed |
| 76 | otda.fit(Xs=Xs, ys=ys, Xt=Xt) |
| 77 | assert hasattr(otda, "log_") |
| 78 | |
| 79 | |
| 80 | @pytest.skip_backend("tf") |
nothing calls this directly
no test coverage detected