ribs.archives.CQDScoreResult¶
- class ribs.archives.CQDScoreResult(iterations, mean, scores, target_points, penalties, obj_min, obj_max, dist_max, dist_ord)[source]¶
Stores the result of running
cqd_score()
.Methods
Attributes
Number of times the score was computed.
The mean score.
Array of scores obtained on each iteration.
(iterations, n, measure_dim) array of target points used in the computation.
1D array of penalties used in the computation.
Minimum objective passed into the method.
Maximum objective passed into the method.
Max distance passed into the method, or the one that was computed based on measure space bounds.
Order of the norm for distance which is passed into the method.
- dist_max: float¶
Max distance passed into the method, or the one that was computed based on measure space bounds.
- dist_ord: Any¶
Order of the norm for distance which is passed into the method. Refer to the
ord
argument innumpy.linalg.norm()
for type info.
- penalties: numpy.ndarray¶
1D array of penalties used in the computation. If the user passed in an array of penalties, this will be a copy of that array.
- scores: numpy.ndarray¶
Array of scores obtained on each iteration.
- target_points: numpy.ndarray¶
(iterations, n, measure_dim) array of target points used in the computation. If the user passed in an array of target_points, this will be a copy of that array.