Skip to content

Commit

Permalink
ecg 512
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidtronix committed Dec 13, 2024
1 parent 6921c4a commit 1eee793
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ml4h/tensormap/ukb/ecg.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,12 @@ def ecg_rest_section_to_segment(tm, hd5, dependents={}):
normalization=Standardize(mean=0, std=10),
)

ecg_rest_median_512 = TensorMap(
'ecg_rest_median_512', Interpretation.CONTINUOUS, path_prefix='ukb_ecg_rest', shape=(512, 12), loss='logcosh',
activation='linear', tensor_from_file=_make_ecg_rest(), channel_map=ECG_REST_MEDIAN_LEADS,
normalization=ZeroMeanStd1(),
)

ecg_rest_median_raw_10_no_poor = TensorMap(
'ecg_rest_median_raw_10', Interpretation.CONTINUOUS, path_prefix='ukb_ecg_rest', shape=(600, 12), loss='logcosh', activation='linear',
tensor_from_file=_make_ecg_rest(skip_poor=True), metrics=['mse', 'mae'], channel_map=ECG_REST_MEDIAN_LEADS, normalization=Standardize(mean=0, std=10),
Expand Down

0 comments on commit 1eee793

Please sign in to comment.