-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
795f4df
commit 44d7c14
Showing
6 changed files
with
967 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
```csv | ||
date,segment,time_sec,time_min,frequency_hz,amplitude,phase,label | ||
2024-11-17,1,7.0,0.11666666666666667,37993.1,12.93741,-4.32236,0 | ||
2024-11-17,1,7.0,0.11666666666666667,41437.9,12.87911,-4.04065,0 | ||
2024-11-17,1,8.0,0.13333333333333333,44882.8,12.78722,-3.65708,0 | ||
2024-11-17,1,8.0,0.13333333333333333,48327.6,12.73593,-3.31598,0 | ||
2024-11-17,1,9.0,0.15,51772.4,12.69731,-2.83716,0 | ||
``` | ||
我的数据如上,请你基于Pytorch写一个血糖三分类的模型,label 0 代表低,1代表中,2代表高。 | ||
请你将数据按照1分钟的长度来进行划分,写出dataset和dataloader,并帮我写出完整的训练验证以及测试流程代码。 |
Oops, something went wrong.