fabric8-analytics / f8a-hpf-insights

HPF Matrix Factorization for Maven companion recommendation
GNU General Public License v3.0
2 stars 19 forks source link

fix: Set default hyper params to empty object instead of none #172

Closed dgpatelgit closed 3 years ago

dgpatelgit commented 3 years ago

Description

There was error while reading old hyper paramters for a ML model as structure and file type are different. Need to handle this in code by setting it to empty dict object instead of none.

Fixes # (issue) https://issues.redhat.com/browse/APPAI-1920

Type of change

Please delete options that are not relevant.

codecov-commenter commented 3 years ago

Codecov Report

Merging #172 (bc70c81) into master (b330712) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #172   +/-   ##
=======================================
  Coverage   90.24%   90.24%           
=======================================
  Files           4        4           
  Lines         164      164           
=======================================
  Hits          148      148           
  Misses         16       16           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b330712...bc70c81. Read the comment docs.