Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorials for US-GAN and GP-VAE, and update README #10

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions PyPOTS_Classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
],
"source": [
"from pypots.data.generating import gene_physionet2012\n",
"from pypots.utils.random import set_random_seed\n",
"from global_config import RANDOM_SEED\n",
"\n",
"set_random_seed(RANDOM_SEED)\n",
"\n",
"# Load the PhysioNet-2012 dataset, disable artificially-missing values for evaluation\n",
"physionet2012_dataset = gene_physionet2012(artificially_missing_rate=0.1)\n",
Expand Down Expand Up @@ -183,8 +187,7 @@
"PR_AUC: 0.45063928834235356,\n",
"F1: 0.2766990291262136,\n",
"Precision: 0.6404494382022472,\n",
"Recall: 0.17647058823529413,\n",
"\n"
"Recall: 0.17647058823529413,\n"
]
}
],
Expand Down Expand Up @@ -310,8 +313,7 @@
"PR_AUC: 0.45516800127428686,\n",
"F1: 0.1904761904761905,\n",
"Precision: 0.6545454545454545,\n",
"Recall: 0.11145510835913312,\n",
"\n"
"Recall: 0.11145510835913312,\n"
]
}
],
Expand Down Expand Up @@ -435,8 +437,7 @@
"PR_AUC: 0.42444960120448355,\n",
"F1: 0.3355408388520972,\n",
"Precision: 0.5846153846153846,\n",
"Recall: 0.23529411764705882,\n",
"\n"
"Recall: 0.23529411764705882,\n"
]
}
],
Expand Down
10 changes: 6 additions & 4 deletions PyPOTS_Clustering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
],
"source": [
"from pypots.data.generating import gene_physionet2012\n",
"from pypots.utils.random import set_random_seed\n",
"from global_config import RANDOM_SEED\n",
"\n",
"set_random_seed(RANDOM_SEED)\n",
"\n",
"# Load the PhysioNet-2012 dataset, disable artificially-missing values for evaluation\n",
"physionet2012_dataset = gene_physionet2012(artificially_missing_rate=0)\n",
Expand Down Expand Up @@ -179,8 +183,7 @@
"text": [
"Testing clustering metrics: \n",
"RI: 0.7470594150388848, \n",
"CP: 0.8519599666388658\n",
"\n"
"CP: 0.8519599666388658\n"
]
}
],
Expand Down Expand Up @@ -303,8 +306,7 @@
"text": [
"Testing clustering metrics: \n",
"RI: 0.7476464012041741, \n",
"CP: 0.8519599666388658,\n",
"\n"
"CP: 0.8519599666388658,\n"
]
}
],
Expand Down
4 changes: 4 additions & 0 deletions PyPOTS_Forecasting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
],
"source": [
"from pypots.data.generating import gene_physionet2012\n",
"from pypots.utils.random import set_random_seed\n",
"from global_config import RANDOM_SEED\n",
"\n",
"set_random_seed(RANDOM_SEED)\n",
"\n",
"# Load the PhysioNet-2012 dataset\n",
"physionet2012_dataset = gene_physionet2012()\n",
Expand Down
Loading
Loading