Benign huggingface Download

ren-0808/ECGMambaVersionOfJTEHM2020-2021_final main

Module built on the numeric Python stackImports a SciPy scientific module
SHA-2563ea11c7b8a0578861dfacb6a42a042fc738b78b1ca08f95dc273a26326cc2edd
MaleculeH₂(DbF₂)

Evidence

Module built on the numeric Python stack lines 1–12
1#!/usr/bin/env python
2
3# Do *not* edit this script.
4# These are helper functions that you can use with your code.
5
6import os, numpy as np
7
8# Check if a variable is a number or represents a number.
⋯4 lines
English function-word token "the" lines 27–32
27:8… e:
28 return False
29
30# (Re)sort leads using the standard order of leads for the standard twelve-lead ECG.
31def sort_leads(leads):
32 x = ('I', 'II', 'III', 'aVR', 'aVL', ' …
Python lists directory entries lines 33–46
33:97… (lead)))
34 return tuple(leads)
35
36# Find header and recording files.
37def find_challenge_files(data_directory):
38 header_files = list()
39 recording_files = list()
40 for f in os.listdir(data_directory):
41 root, extension = os.path.splitext(f)
42 if not root.startswith('.') and extension=='.hea':
⋯4 lines
Python file opened for write or append lines 221–229
221:95… abilities_string + '\n'
222
223 # Save the model outputs.
224 with open(output_file, 'w') as f:
225 f.write(output_string)
226
227# Load outputs from model.
228def load_outputs(output_file):
229 with open(output_file, 'r') …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.