Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
LINC-BIT
/
EdgeTA
like
1
Running
App
Files
Files
Community
main
EdgeTA
/
utils
/
common
/
data.py
LINC-BIT
Upload 1912 files
b84549f
verified
11 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
143 Bytes
import
numpy
as
np
def
min_max_normalize
(
data
):
data = np.asarray(data)
return
(data - np.
min
(data)) / (np.
max
(data) - np.
min
(data))