-
Notifications
You must be signed in to change notification settings - Fork 3
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
b371eca
commit 3678880
Showing
5 changed files
with
19,506 additions
and
0 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,241 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"id": "0e71a5ba", | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/html": [ | ||
"<div>\n", | ||
"<style scoped>\n", | ||
" .dataframe tbody tr th:only-of-type {\n", | ||
" vertical-align: middle;\n", | ||
" }\n", | ||
"\n", | ||
" .dataframe tbody tr th {\n", | ||
" vertical-align: top;\n", | ||
" }\n", | ||
"\n", | ||
" .dataframe thead th {\n", | ||
" text-align: right;\n", | ||
" }\n", | ||
"</style>\n", | ||
"<table border=\"1\" class=\"dataframe\">\n", | ||
" <thead>\n", | ||
" <tr style=\"text-align: right;\">\n", | ||
" <th></th>\n", | ||
" <th>Unnamed: 0</th>\n", | ||
" <th>Train_filename</th>\n", | ||
" <th>Gen_filename</th>\n", | ||
" <th>Train_duration</th>\n", | ||
" <th>Gen_duration</th>\n", | ||
" <th>Difference</th>\n", | ||
" </tr>\n", | ||
" </thead>\n", | ||
" <tbody>\n", | ||
" <tr>\n", | ||
" <th>0</th>\n", | ||
" <td>0</td>\n", | ||
" <td>b-4_151-300_163.wav</td>\n", | ||
" <td>VTTS_b-4_151-300_163.wav</td>\n", | ||
" <td>4060</td>\n", | ||
" <td>3587</td>\n", | ||
" <td>473</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>1</th>\n", | ||
" <td>1</td>\n", | ||
" <td>b-3_5639-5744_5658.wav</td>\n", | ||
" <td>VTTS_b-3_5639-5744_5658.wav</td>\n", | ||
" <td>7140</td>\n", | ||
" <td>5550</td>\n", | ||
" <td>1590</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>2</th>\n", | ||
" <td>2</td>\n", | ||
" <td>b-3_6016-6115_6028.wav</td>\n", | ||
" <td>VTTS_b-3_6016-6115_6028.wav</td>\n", | ||
" <td>6620</td>\n", | ||
" <td>5921</td>\n", | ||
" <td>699</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>3</th>\n", | ||
" <td>3</td>\n", | ||
" <td>b-4_2000-5164_3435.wav</td>\n", | ||
" <td>VTTS_b-4_2000-5164_3435.wav</td>\n", | ||
" <td>4113</td>\n", | ||
" <td>3947</td>\n", | ||
" <td>166</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>4</th>\n", | ||
" <td>4</td>\n", | ||
" <td>b-3_4607-5008_4801.wav</td>\n", | ||
" <td>VTTS_b-3_4607-5008_4801.wav</td>\n", | ||
" <td>3770</td>\n", | ||
" <td>4098</td>\n", | ||
" <td>-328</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>...</th>\n", | ||
" <td>...</td>\n", | ||
" <td>...</td>\n", | ||
" <td>...</td>\n", | ||
" <td>...</td>\n", | ||
" <td>...</td>\n", | ||
" <td>...</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>19176</th>\n", | ||
" <td>19176</td>\n", | ||
" <td>b-2_1903-2038_1988.wav</td>\n", | ||
" <td>VTTS_b-2_1903-2038_1988.wav</td>\n", | ||
" <td>1750</td>\n", | ||
" <td>1602</td>\n", | ||
" <td>148</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>19177</th>\n", | ||
" <td>19177</td>\n", | ||
" <td>b-1_3834-3934_3909.wav</td>\n", | ||
" <td>VTTS_b-1_3834-3934_3909.wav</td>\n", | ||
" <td>1320</td>\n", | ||
" <td>1335</td>\n", | ||
" <td>-15</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>19178</th>\n", | ||
" <td>19178</td>\n", | ||
" <td>b-4_2000-5164_4029.wav</td>\n", | ||
" <td>VTTS_b-4_2000-5164_4029.wav</td>\n", | ||
" <td>7392</td>\n", | ||
" <td>7860</td>\n", | ||
" <td>-468</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>19179</th>\n", | ||
" <td>19179</td>\n", | ||
" <td>b-2_917-1018_923.wav</td>\n", | ||
" <td>VTTS_b-2_917-1018_923.wav</td>\n", | ||
" <td>3340</td>\n", | ||
" <td>3204</td>\n", | ||
" <td>136</td>\n", | ||
" </tr>\n", | ||
" <tr>\n", | ||
" <th>19180</th>\n", | ||
" <td>19180</td>\n", | ||
" <td>b-3_3803-3888_3854.wav</td>\n", | ||
" <td>VTTS_b-3_3803-3888_3854.wav</td>\n", | ||
" <td>4640</td>\n", | ||
" <td>4389</td>\n", | ||
" <td>251</td>\n", | ||
" </tr>\n", | ||
" </tbody>\n", | ||
"</table>\n", | ||
"<p>19181 rows × 6 columns</p>\n", | ||
"</div>" | ||
], | ||
"text/plain": [ | ||
" Unnamed: 0 Train_filename Gen_filename \\\n", | ||
"0 0 b-4_151-300_163.wav VTTS_b-4_151-300_163.wav \n", | ||
"1 1 b-3_5639-5744_5658.wav VTTS_b-3_5639-5744_5658.wav \n", | ||
"2 2 b-3_6016-6115_6028.wav VTTS_b-3_6016-6115_6028.wav \n", | ||
"3 3 b-4_2000-5164_3435.wav VTTS_b-4_2000-5164_3435.wav \n", | ||
"4 4 b-3_4607-5008_4801.wav VTTS_b-3_4607-5008_4801.wav \n", | ||
"... ... ... ... \n", | ||
"19176 19176 b-2_1903-2038_1988.wav VTTS_b-2_1903-2038_1988.wav \n", | ||
"19177 19177 b-1_3834-3934_3909.wav VTTS_b-1_3834-3934_3909.wav \n", | ||
"19178 19178 b-4_2000-5164_4029.wav VTTS_b-4_2000-5164_4029.wav \n", | ||
"19179 19179 b-2_917-1018_923.wav VTTS_b-2_917-1018_923.wav \n", | ||
"19180 19180 b-3_3803-3888_3854.wav VTTS_b-3_3803-3888_3854.wav \n", | ||
"\n", | ||
" Train_duration Gen_duration Difference \n", | ||
"0 4060 3587 473 \n", | ||
"1 7140 5550 1590 \n", | ||
"2 6620 5921 699 \n", | ||
"3 4113 3947 166 \n", | ||
"4 3770 4098 -328 \n", | ||
"... ... ... ... \n", | ||
"19176 1750 1602 148 \n", | ||
"19177 1320 1335 -15 \n", | ||
"19178 7392 7860 -468 \n", | ||
"19179 3340 3204 136 \n", | ||
"19180 4640 4389 251 \n", | ||
"\n", | ||
"[19181 rows x 6 columns]" | ||
] | ||
}, | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"import numpy as np\n", | ||
"import os\n", | ||
"import pandas as pd\n", | ||
"\n", | ||
"df = pd.read_csv(\"tts_data.csv\") #differece = Train - Gen\n", | ||
"df" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 11, | ||
"id": "be4267f8", | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"count 19181.000000\n", | ||
"mean -115.034670\n", | ||
"std 924.949708\n", | ||
"min -10380.000000\n", | ||
"25% -270.000000\n", | ||
"50% 26.000000\n", | ||
"75% 249.000000\n", | ||
"max 7720.000000\n", | ||
"Name: Difference, dtype: float64" | ||
] | ||
}, | ||
"execution_count": 11, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"df[\"Difference\"].describe()" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"interpreter": { | ||
"hash": "18bc189f73502c034edd518baa6aef7b5b2fbe4a5702a0319d0ad7a9658e0063" | ||
}, | ||
"kernelspec": { | ||
"display_name": "Python [conda env:skit]", | ||
"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.8.12" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
Oops, something went wrong.