nasa / prog_models

The NASA Prognostic Model Package is a Python framework focused on defining and building models for prognostics (computation of remaining useful life) of engineering systems, and provides a set of prognostics models for select components developed within this framework, suitable for use in prognostics applications for these components.
123 stars 50 forks source link

Add toe and p_met #559

Closed teubert closed 1 year ago

teubert commented 1 year ago

Add Time of Event and Performance Metrics to Template

github-actions[bot] commented 1 year ago

Thank you for opening this PR. Since this is a release branch, the PR must complete the release checklist, below:

github-actions[bot] commented 1 year ago
Benchmarking Results From: Test Time (s)
import main 0.12973349999999995
import thrown object 0.49757209999999996
model initialization 0.1582443
set noise 0.6456473999999999
simulate 0.4881869999999999
simulate with saving 1.3968294999999995
simulate with saving, dt 1.7969365000000002
simulate with printing results, dt 2.2294848
Plot results 15.0631009
Metrics 0.0370398999999999
Surrogate Model Generation 2.170776700000001
surrogate sim 1.428250000000002
surrogate sim, dt 3.707092499999998
To: Test Time (s)
import main 0.13014759999999992
import thrown object 0.5172246
model initialization 0.15751649999999984
set noise 0.6484173000000002
simulate 0.49814120000000006
simulate with saving 1.4124570000000003
simulate with saving, dt 1.8084505000000002
simulate with printing results, dt 2.270783400000001
Plot results 14.806281499999999
Metrics 0.03677539999999979
Surrogate Model Generation 2.178284999999999
surrogate sim 1.4502375
surrogate sim, dt 3.7683348999999993
codecov-commenter commented 1 year ago

Codecov Report

Merging #559 (76ec5ca) into release/v1.5 (db91bfd) will decrease coverage by 0.05%. The diff coverage is 50.00%.

@@               Coverage Diff                @@
##           release/v1.5     #559      +/-   ##
================================================
- Coverage         85.03%   84.99%   -0.05%     
================================================
  Files                45       45              
  Lines              3481     3485       +4     
================================================
+ Hits               2960     2962       +2     
- Misses              521      523       +2     
Impacted Files Coverage Δ
prog_model_template.py 68.00% <50.00%> (-3.43%) :arrow_down: