Struct gapi_grpc::google::cloud::aiplatform::v1beta1::Trial[][src]

pub struct Trial {
    pub name: String,
    pub id: String,
    pub state: i32,
    pub parameters: Vec<Parameter>,
    pub final_measurement: Option<Measurement>,
    pub measurements: Vec<Measurement>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub client_id: String,
    pub infeasible_reason: String,
    pub custom_job: String,
}

A message representing a Trial. A Trial contains a unique set of Parameters that has been or will be evaluated, along with the objective metrics got by running the Trial.

Fields

name: String

Output only. Resource name of the Trial assigned by the service.

id: String

Output only. The identifier of the Trial assigned by the service.

state: i32

Output only. The detailed state of the Trial.

parameters: Vec<Parameter>

Output only. The parameters of the Trial.

final_measurement: Option<Measurement>

Output only. The final measurement containing the objective value.

measurements: Vec<Measurement>

Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.

start_time: Option<Timestamp>

Output only. Time when the Trial was started.

end_time: Option<Timestamp>

Output only. Time when the Trial’s status changed to SUCCEEDED or INFEASIBLE.

client_id: String

Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.

infeasible_reason: String

Output only. A human readable string describing why the Trial is infeasible. This is set only if Trial state is INFEASIBLE.

custom_job: String

Output only. The CustomJob name linked to the Trial. It’s set for a HyperparameterTuningJob’s Trial.

Implementations

impl Trial[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Trial[src]

impl Debug for Trial[src]

impl Default for Trial[src]

impl Message for Trial[src]

impl PartialEq<Trial> for Trial[src]

impl StructuralPartialEq for Trial[src]

Auto Trait Implementations

impl RefUnwindSafe for Trial

impl Send for Trial

impl Sync for Trial

impl Unpin for Trial

impl UnwindSafe for Trial

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]