pub struct TrainingPlotter {
pub config: PlotConfig,
pub metadata: PlotMetadata,
}Expand description
学習曲線プロッター Training curve plotter
Fields§
§config: PlotConfigプロット設定 Plot configuration
metadata: PlotMetadataメタデータ Metadata
Implementations§
Source§impl TrainingPlotter
impl TrainingPlotter
Sourcepub fn with_config(config: PlotConfig) -> Self
pub fn with_config(config: PlotConfig) -> Self
設定付きプロッターを作成 Create plotter with configuration
Sourcepub fn with_metadata(self, metadata: PlotMetadata) -> Self
pub fn with_metadata(self, metadata: PlotMetadata) -> Self
メタデータを設定 Set metadata
Sourcepub fn plot_training_curves<T>(
&self,
history: &TrainingHistory<T>,
) -> RusTorchResult<String>
pub fn plot_training_curves<T>( &self, history: &TrainingHistory<T>, ) -> RusTorchResult<String>
学習曲線をプロット Plot training curves
Sourcepub fn plot_loss_comparison<T>(
&self,
histories: Vec<(&str, &TrainingHistory<T>)>,
) -> RusTorchResult<String>
pub fn plot_loss_comparison<T>( &self, histories: Vec<(&str, &TrainingHistory<T>)>, ) -> RusTorchResult<String>
損失比較プロット Plot loss comparison
Sourcepub fn plot_metrics_timeline<T>(
&self,
history: &TrainingHistory<T>,
metric_name: &str,
) -> RusTorchResult<String>
pub fn plot_metrics_timeline<T>( &self, history: &TrainingHistory<T>, metric_name: &str, ) -> RusTorchResult<String>
メトリクス時系列プロット Plot metrics over time
Trait Implementations§
Source§impl Debug for TrainingPlotter
impl Debug for TrainingPlotter
Auto Trait Implementations§
impl Freeze for TrainingPlotter
impl RefUnwindSafe for TrainingPlotter
impl Send for TrainingPlotter
impl Sync for TrainingPlotter
impl Unpin for TrainingPlotter
impl UnwindSafe for TrainingPlotter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more