nansencenter / sea_ice_type_cnn_training

Deep learning of satellite data: Use the data from satellites for machine learning (deep learning) purposes
GNU General Public License v3.0
5 stars 4 forks source link

Adding notebook and functions for one-hot encoding of ice types. #23

Closed Alissa13777 closed 3 years ago

Alissa13777 commented 3 years ago

Functions for one-hot encoding : hot_encoding_utils.py Notebook with tests on 15 files : one-hot_encoding.ipynb

codecov-commenter commented 3 years ago

Codecov Report

Merging #23 (f5eec52) into master (4e5f84e) will increase coverage by 2.55%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   92.85%   95.41%   +2.55%     
==========================================
  Files           1       13      +12     
  Lines          14     1155    +1141     
==========================================
+ Hits           13     1102    +1089     
- Misses          1       53      +52     
Flag Coverage Δ
unittests 95.41% <100.00%> (+2.55%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
asip_v2/archive.py 99.15% <100.00%> (ø)
asip_v2/tests.py
asip_v2/data_generator.py 96.15% <0.00%> (ø)
asip_v2/tests/test_apply_model.py 100.00% <0.00%> (ø)
asip_v2/apply_model.py 90.78% <0.00%> (ø)
asip_v2/tests/test_train_model.py 100.00% <0.00%> (ø)
asip_v2/tests/test_utility.py 100.00% <0.00%> (ø)
asip_v2/train_model.py 77.04% <0.00%> (ø)
asip_v2/utility.py 80.00% <0.00%> (ø)
... and 5 more

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 21547f3...f5eec52. Read the comment docs.