actinet 0.0.dev2__tar.gz → 0.0.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {actinet-0.0.dev2 → actinet-0.0.dev3}/PKG-INFO +1 -1
- {actinet-0.0.dev2 → actinet-0.0.dev3}/setup.py +1 -1
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/_version.py +3 -3
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/actinet.py +13 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/PKG-INFO +1 -1
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/requires.txt +1 -1
- {actinet-0.0.dev2 → actinet-0.0.dev3}/LICENSE.md +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/README.md +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/pyproject.toml +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/setup.cfg +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/__init__.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/accPlot.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/circadian.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/hmm.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/models.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/sslmodel.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/summarisation.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/utils/__init__.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/utils/collate_outputs.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/utils/generate_commands.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet/utils/utils.py +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/SOURCES.txt +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/dependency_links.txt +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/entry_points.txt +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/src/actinet.egg-info/top_level.txt +0 -0
- {actinet-0.0.dev2 → actinet-0.0.dev3}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: actinet
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.dev3
|
|
4
4
|
Summary: Activity detection algorithm compatible with the UK Biobank Accelerometer Dataset
|
|
5
5
|
Home-page: https://github.com/OxWearables/actinet
|
|
6
6
|
Download-URL: https://github.com/OxWearables/actinet
|
|
@@ -55,6 +55,7 @@ def main():
|
|
|
55
55
|
"scipy==1.10.*",
|
|
56
56
|
"pandas==2.0.*",
|
|
57
57
|
"tqdm==4.64.*",
|
|
58
|
+
"matplotlib==3.1.*",
|
|
58
59
|
"joblib==1.2.*",
|
|
59
60
|
"scikit-learn==1.1.1",
|
|
60
61
|
"imbalanced-learn==0.9.1",
|
|
@@ -72,7 +73,6 @@ def main():
|
|
|
72
73
|
"autopep8",
|
|
73
74
|
"tomli",
|
|
74
75
|
"jupyter",
|
|
75
|
-
"matplotlib",
|
|
76
76
|
],
|
|
77
77
|
"docs": [
|
|
78
78
|
"sphinx>=4.2",
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2024-02-
|
|
11
|
+
"date": "2024-02-05T11:05:44+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "0.0.
|
|
14
|
+
"full-revisionid": "6f3133800a30a331e1a981b9b93937b5fd0e7f1a",
|
|
15
|
+
"version": "0.0.dev3"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -62,6 +62,11 @@ def main():
|
|
|
62
62
|
action="store_true",
|
|
63
63
|
help="Plot the predicted activity labels",
|
|
64
64
|
)
|
|
65
|
+
parser.add_argument(
|
|
66
|
+
"--cache-ssl",
|
|
67
|
+
action="store_true",
|
|
68
|
+
help="Download and cache ssl module for offline usage",
|
|
69
|
+
)
|
|
65
70
|
parser.add_argument("--quiet", "-q", action="store_true", help="Suppress output")
|
|
66
71
|
args = parser.parse_args()
|
|
67
72
|
|
|
@@ -69,6 +74,14 @@ def main():
|
|
|
69
74
|
|
|
70
75
|
verbose = not args.quiet
|
|
71
76
|
|
|
77
|
+
if args.cache_ssl:
|
|
78
|
+
model = ActivityClassifier(weights_path=True, ssl_repo=None, verbose=verbose)
|
|
79
|
+
|
|
80
|
+
after = time.time()
|
|
81
|
+
print(f"Done! ({round(after - before,2)}s)")
|
|
82
|
+
|
|
83
|
+
return
|
|
84
|
+
|
|
72
85
|
# Load file
|
|
73
86
|
data, info = read(
|
|
74
87
|
args.filepath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: actinet
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.dev3
|
|
4
4
|
Summary: Activity detection algorithm compatible with the UK Biobank Accelerometer Dataset
|
|
5
5
|
Home-page: https://github.com/OxWearables/actinet
|
|
6
6
|
Download-URL: https://github.com/OxWearables/actinet
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|