psopt.utils.Results¶
-
class
psopt.utils.
Results
(*args, **kwargs)¶ Class that stores the optimization results
-
class
History
¶ -
plot
(y, x=None)¶ Plot any given measured characteristic recorded througout the optimization procedure
Parameters: - y (list or str) – name of the metrics at the y-axis
- x (str) – name of the metrics for the x-axis.
If empty, the horizontal axis will be the
iterations
-
-
history
¶ A History object containing the recorded values of the global-best, iteration best and any other metric specified
-
classmethod
load
(directory: str) → clsResults¶ Instantiates Result object from files within the directory
Parameters: directory – str containing the path to files Returns: a Results objects
-
load_history
(directory: str, delete: bool)¶ Loads a .csv containing the progress of an optimization process and stores it in the Result.history attribute
Parameters: directory – str containing the path to file
-
solution
¶ The solution found of within the given set of candidates
-
value
¶ The value associated with the solution found
-
class