r"""check_params: check whether some parameters are missing
(**kwargs)
| 562 | |
| 563 | |
| 564 | def check_params(**kwargs): |
| 565 | r"""check_params: check whether some parameters are missing""" |
| 566 | |
| 567 | missing_params = [] |
| 568 | check = True |
| 569 | |
| 570 | for param in kwargs: |
| 571 | if kwargs[param] is None: |
| 572 | missing_params.append(param) |
| 573 | |
| 574 | if len(missing_params) > 0: |
| 575 | print("POT - Warning: following necessary parameters are missing") |
| 576 | for p in missing_params: |
| 577 | print("\n", p) |
| 578 | |
| 579 | check = False |
| 580 | |
| 581 | return check |
| 582 | |
| 583 | |
| 584 | def check_random_state(seed): |
no outgoing calls
no test coverage detected