Skip to content

Commit

Permalink
added technical validation
Browse files Browse the repository at this point in the history
  • Loading branch information
debarpanbhatta123 committed Oct 12, 2022
1 parent 5c329fb commit bf300ae
Show file tree
Hide file tree
Showing 125 changed files with 108,750 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,234 changes: 2,234 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/cough-heavy.csv

Large diffs are not rendered by default.

2,233 changes: 2,233 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/cough-shallow.csv

Large diffs are not rendered by default.

2,234 changes: 2,234 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/counting-fast.csv

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,234 changes: 2,234 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/vowel-a.csv

Large diffs are not rendered by default.

2,747 changes: 2,747 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/vowel-e.csv

Large diffs are not rendered by default.

2,233 changes: 2,233 additions & 0 deletions technical_validation/gender_classification/annotations/LABELS/vowel-o.csv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[default]
#feature_type=mfcc
classifier = RandomForest
#can be LogisticRegression, RandomForest

[RandomForest]
n_estimators=50
criterion=gini

[LogisticRegression]
C=1.0
max_iter=100
class_weight=balanced
29 changes: 29 additions & 0 deletions technical_validation/gender_classification/conf/feature.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[default]
#feature_type=mfcc
feature_type=logMelSpec
sampling_rate = 44100
# parameters below are in samples
window_size = 1024
window_shift = 441

[sad]
threshold = 0.0001
# parameters below are in milli-seconds
start_end_sil_length = 20
silence_margin = 50

[mfcc]
n_mfcc = 39
n_mels = 64
fmax = 22050
add_deltas = True
add_delta_deltas = True

[logMelSpec]
n_mfcc = 40
n_mels = 64
f_max = 22050
#window_size = 25
#hop_length = 10
compute_deltas = True
compute_delta_deltas = True
12 changes: 12 additions & 0 deletions technical_validation/gender_classification/conf/train_lr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[default]
#model = linearSVM, LogisticRegression, rbfSVM
model = linearSVM
seed = 42

[LogisticRegression]
C = 0.01
max_iter = 40
solver = liblinear
penalty = l2
class_weight = balanced
verbose = True
13 changes: 13 additions & 0 deletions technical_validation/gender_classification/conf/train_mlp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[default]
model = MLP
seed = 42

[MLP]
learning_rate_init = 0.001
alpha = 0.001
solver = adam
hidden_layer_sizes = 20
max_iter = 500
activation = tanh
verbose = True
class_weight = balanced
11 changes: 11 additions & 0 deletions technical_validation/gender_classification/conf/train_rbfSVM.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[default]
#model = linearSVM, LogisticRegression, rbfSVM
model = rbfSVM
seed = 42

[rbfSVM]
C = 100
kernel=rbf
class_weight=balanced
probability=True
verbose = True
Loading

0 comments on commit bf300ae

Please sign in to comment.