pyfemtet.opt.history package
モジュール内容
- class pyfemtet.opt.history.ColumnOrderMode(value)[ソース]
ベースクラス:
StrEnum履歴 csv 列の並び順。
- important_first = 'important_first'
- per_category = 'per_category'
各オブジェクトごとに並べ替えます。
- class pyfemtet.opt.history.History[ソース]
ベースクラス:
objectManage history of optimization trials.
- get_df(equality_filters=None)[ソース]
最適化の履歴を返します。
- パラメータ:
equality_filters (dict, optional) – {column: value} というフォーマットのマッチングフィルター。
- 戻り値の型:
DataFrame
Returns: 最適化の履歴
- static get_trial_name(trial=None, fidelity=None, sub_sampling=None, row=None)[ソース]
- パラメータ:
row (Series | None) –
- save()[ソース]
最適化履歴をエクスポートします。
保存先パスは
History.pathです。
- class pyfemtet.opt.history.TrialState(value)[ソース]
ベースクラス:
StrEnumAn enumeration.
- hard_constraint_violation = 'Hard constraint violation'
- mesh_error = 'Mesh error'
- model_error = 'Model error'
- post_error = 'Post-processing error'
- skipped = 'Skip'
- soft_constraint_violation = 'Soft constraint violation'
- solve_error = 'Solve error'
- succeeded = 'Success'
- undefined = 'undefined'
- unknown_error = 'Unknown error'