Enum Class SweepRanking
- All Implemented Interfaces:
Serializable,Comparable<SweepRanking>,Constable
The server default is PLATEAU, so the order a sweep answers with
is not the raw objective order unless you ask for it. Set it through
SweepOptions.Builder.ranking(SweepRanking); leaving it unset sends no
ranking parameter at all and takes whatever the platform defaults to.
What you request is not always what you get. Read
ExecuteSweepResult.getRanking() to find out which ordering was
actually applied: a sweep with no stored parameter grid has no neighbourhood
to score against and falls back to RAW, and a walk-forward sweep is
always RAW because its leaderboard is one out-of-sample row per fold
rather than a grid.
This applies to the ranked view only. Alongside
SweepOrder.NATURAL it is ignored — that view is
always ordered by runIx.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SweepRankingReturns the enum constant of this class with the specified name.static SweepRanking[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()Internal: the value sent as therankingquery parameter.
-
Enum Constant Details
-
PLATEAU
Order by plateau score: the objective of the worst run in a point's immediate neighbourhood, so a point only ranks well when the region around it does too.This exists because the highest raw score is very often a spike that does not survive the parameters moving slightly. Rows ranked this way carry
plateauScoreandneighbourCount, and those two are read together — seeSweep.await(). -
RAW
Order by the objective alone, with no neighbourhood adjustment.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
wire
Internal: the value sent as therankingquery parameter. Exposed so the SDK's own helpers can pass it through without re-encoding.- Returns:
- the wire token for this ordering
-