Conditions | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | """Contain mechanism for changing position.""" |
||
17 | def set_initial_control_params(self): |
||
18 | """Set initial positions.""" |
||
19 | random = np.random.rand(len(self.stage.control_params)) |
||
20 | delta = self.upper_bounds - self.lower_bounds |
||
21 | control_params = self.lower_bounds + random * delta |
||
22 | self.stage.control_params = control_params.tolist() |
||
23 | |||
35 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.