Struct bigml::resource::ensemble::Ensemble [−][src]
pub struct Ensemble { pub common: ResourceCommon, pub resource: Id<Ensemble>, pub status: GenericStatus, pub ensemble: EnsembleInfo, pub importance: HashMap<String, f64>, // some fields omitted }
An ensemble of multiple predictive models.
TODO: Still lots of missing fields.
Fields
common: ResourceCommon
Common resource information. These fields will be serialized at the
top-level of this structure by serde
.
resource: Id<Ensemble>
The ID of this resource.
status: GenericStatus
The current status of this ensemble.
ensemble: EnsembleInfo
Extra information about this ensemble. Does not appear to be documented in the official API.
TODO: This may need to be wrapped in Option
to handle the early
stages of resource creation, when not all fields are present.
importance: HashMap<String, f64>
Maps BigML field IDs to average importance per field.
TODO: This may need to be wrapped in Option
to handle the early
stages of resource creation, when not all fields are present.
Trait Implementations
impl Clone for Ensemble
[src]
impl Clone for Ensemble
fn clone(&self) -> Ensemble
[src]
fn clone(&self) -> Ensemble
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Ensemble
[src]
impl Debug for Ensemble
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Ensemble
[src]
impl Resource for Ensemble
fn id_prefix() -> &'static str
[src]
fn id_prefix() -> &'static str
The prefix used for all IDs of this type.
fn create_path() -> &'static str
[src]
fn create_path() -> &'static str
The URL path used to create a new resource of this type.
fn common(&self) -> &ResourceCommon
[src]
fn common(&self) -> &ResourceCommon
Fields shared between all resource types. These are "flattened" into the top-level of the JSON version of this resource. Read more
fn id(&self) -> &Id<Self>
[src]
fn id(&self) -> &Id<Self>
The ID of this resource.
fn status(&self) -> &Status
[src]
fn status(&self) -> &Status
The status code for this resource. Read more