restructured repo, fixed git ignore

This commit is contained in:
2025-10-31 16:37:08 +01:00
parent 7a6912d4c7
commit c80e8808f2
7 changed files with 107 additions and 7 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
* *
!.py !*/
!.ipynb !*.py
!*.ipynb
!*.md
!.gitignore !.gitignore
+3 -3
View File
@@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 1,
"id": "7440a5b3", "id": "7440a5b3",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@@ -237,7 +237,7 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "Python 3 (ipykernel)", "display_name": "base",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@@ -251,7 +251,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.12.10" "version": "3.11.5"
} }
}, },
"nbformat": 4, "nbformat": 4,
+1 -1
View File
@@ -59,7 +59,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"start = time.time()\n", "start = time.time()\n",
"df_4_col = pd.read_hdf(\"tmp.h5\", \"SIGNALS\", mode=\"r\", columns=[\"STUDY\",\"LEVEL\", \"PHASE\", 'RAW_ECG_I'])\n", "df_4_col = pd.read_hdf(\"tmp.h5\", \"SIGNALS\", mode=\"r\", columns=[\"STUDY\",\"LEVEL\", \"PHASE\", ''])\n",
"end = time.time()\n", "end = time.time()\n",
"print(end - start)" "print(end - start)"
] ]
+99
View File
@@ -0,0 +1,99 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "2b3fface",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "74f1f5ec",
"metadata": {},
"outputs": [],
"source": [
"df= pd.read_parquet(\"cleaned_0000.parquet\")\n",
"print(df.shape)\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "05775454",
"metadata": {},
"outputs": [],
"source": [
"df.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "99e17328",
"metadata": {},
"outputs": [],
"source": [
"df.tail()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0238d802",
"metadata": {},
"outputs": [],
"source": [
"step2 = pd.read_parquet(\"output_windowed.parquet\")\n",
"step2.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1257c535",
"metadata": {},
"outputs": [],
"source": [
"step2.shape"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "3754c664",
"metadata": {},
"outputs": [],
"source": [
"# Zeigt alle Kombinationen mit Häufigkeit\n",
"step2[['STUDY', 'LEVEL', 'PHASE']].value_counts()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "base",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
-1
View File
@@ -2,4 +2,3 @@
This repository contains the code for EDA, modell training and evaluation. This repository contains the code for EDA, modell training and evaluation.
To be continued. To be continued.
To be continued.