()
| 2512 | |
| 2513 | |
| 2514 | def test_invserse_box_cox(): |
| 2515 | # output nan if the input is invalid |
| 2516 | pt = PowerTransformer(method="box-cox", standardize=False).fit([[1.0], [2.0]]) |
| 2517 | pt.lambdas_ = [0.5] |
| 2518 | X_inv = pt.inverse_transform([[-2.1]]) |
| 2519 | assert np.isnan(X_inv) |
| 2520 | |
| 2521 | |
| 2522 | def test_yeo_johnson_darwin_example(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…