(nx)
| 644 | @pytest.skip_backend("jax") |
| 645 | @pytest.skip_backend("tf") |
| 646 | def test_mapping_transport_class_specific_seed(nx): |
| 647 | # check that it does not crash when derphi is very close to 0 |
| 648 | ns = 20 |
| 649 | nt = 30 |
| 650 | rng = np.random.RandomState(39) |
| 651 | Xs, ys = make_data_classif("3gauss", ns, random_state=rng) |
| 652 | Xt, yt = make_data_classif("3gauss2", nt, random_state=rng) |
| 653 | otda = ot.da.MappingTransport(kernel="gaussian", bias=False) |
| 654 | otda.fit(Xs=nx.from_numpy(Xs), Xt=nx.from_numpy(Xt)) |
| 655 | |
| 656 | |
| 657 | @pytest.skip_backend("jax") |
nothing calls this directly
no test coverage detected