Documentation for pdopt.exploration
Module that contains the functions and object required by the Exploration phase.
pdopt.exploration.ProbabilisticExploration
Class that represents the object performing the probabilistic exploration.
| Attributes: |
|
|---|
pdopt.exploration.ProbabilisticExploration.__init__(design_space, model, surrogate_training_data_file=None, surrogate_testing_data_file=None, n_train_points=128, debug=False)
Initialise the Probabilistic Exploration object.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.ProbabilisticExploration.from_pickle(filepath)
classmethod
Helper function to load the ProbabilisticExploration object from a pickle file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.ProbabilisticExploration.save_to_pickle(filepath)
Save the ProbabilisticExploration object to a pickle file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.ProbabilisticExploration.run(n_samples=100, p_discard=0.5, debug=False)
Perform the probabilistic exploration procedure
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.ProbabilisticExploration.run_surrogate(X)
Run all the surrogate models for a given input.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.SurrogateResponse
Class that encapsulates the Gaussian Process Regressor to be used as probabilistic surrogate model.
| Attributes: |
|
|---|
pdopt.exploration.SurrogateResponse.__init__(response_name, parameters_list, model, train_data=None, test_data=None)
Initialise and train the SurrogateResponse object.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.SurrogateResponse.predict(x)
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.generate_input_samples(n_points, parameters_list, rule='lhs', debug=False)
Auxiliary function for sampling the full design space. The default rule is Latin Hypercube sampling (lhs), but Sobol and factorial grid sampling are available.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.generate_surrogate_training_data(parameters_list, model, n_train_points, save_dir=None, debug=False)
Generates the training data from the evaluation function for the probabilistic surrogate model, by sampling in the entire design space using a Sobol sequence.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pdopt.exploration.generate_surrogate_test_data(n_points, parameters_list, model, save_dir=None, debug=False)
Generates the testing data from the evaluation function for the probabilistic surrogate model, by sampling in the entire design space using latin hybercube sampling.
| Parameters: |
|
|---|
| Returns: |
|
|---|