pub struct DepGraphLearner {
pub min_episodes: usize,
pub min_order_count: usize,
}Expand description
依存グラフ学習器
成功した Episode のアクション系列から依存グラフを学習する。
§学習ロジック
- 成功 Episode からアクション系列を抽出
- アクション間の出現順序を統計
- 高頻度の順序関係から DependencyGraph を構築
- 推奨パスを成功率順にソート
Fields§
§min_episodes: usize最小成功 Episode 数(これ未満だと低信頼度)
min_order_count: usize順序関係の最小出現回数
Implementations§
Source§impl DepGraphLearner
impl DepGraphLearner
Sourcepub fn with_min_episodes(self, n: usize) -> Self
pub fn with_min_episodes(self, n: usize) -> Self
最小 Episode 数を設定
Trait Implementations§
Source§impl Clone for DepGraphLearner
impl Clone for DepGraphLearner
Source§fn clone(&self) -> DepGraphLearner
fn clone(&self) -> DepGraphLearner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComponentLearner for DepGraphLearner
impl ComponentLearner for DepGraphLearner
Source§type Output = LearnedDepGraph
type Output = LearnedDepGraph
学習結果の型
Source§impl Debug for DepGraphLearner
impl Debug for DepGraphLearner
Source§impl Default for DepGraphLearner
impl Default for DepGraphLearner
Source§fn default() -> DepGraphLearner
fn default() -> DepGraphLearner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DepGraphLearner
impl RefUnwindSafe for DepGraphLearner
impl Send for DepGraphLearner
impl Sync for DepGraphLearner
impl Unpin for DepGraphLearner
impl UnwindSafe for DepGraphLearner
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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