Replies: 2 comments
-
At the same time, I also found that the statistics.py in the library folder has the same name as the statistics module in the standard library, which caused the code to fail to run. I have already corrected this error. |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for the message! Both examples were not intended to be quick tests. Actually they were implemented to be an example of a complete execution of an experiment. For example, in example_case_study.py, three stochatisc algorithm are employed to solve a test. Because they are stochastic, they need to repeat execution (commonly 30 times) to obtain a reliable estimation of performance. In the case of example_benchmark.py, 30 tests are created. Futhermore, the DNL indicator (Degree of Non-Linearity) is computed by default, which takes some time. If you want to run a smaller and quick test, try reducing the number of tests in benchmark.py or the number of executions in example_case_study.py. Let me know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
When I try to run example_benchmark.py in the demo, no errors are reported, it just stuck in creating test...
Same thing happens when I run example_case_study.py, it says Running executions in parallel... and never end. Looks like I cannot run any code in the pack. Is anyone know what's the problem?
Beta Was this translation helpful? Give feedback.
All reactions