Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Vocal Repertoire Embedder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Best
Vocal Repertoire Embedder
Commits
317fed95
Commit
317fed95
authored
2 years ago
by
Paul Best
Browse files
Options
Downloads
Patches
Plain Diff
add humpback
parent
ec9790c1
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
good_species.txt
+1
-1
1 addition, 1 deletion
good_species.txt
humpback/humpback.csv
+7501
-515776
7501 additions, 515776 deletions
humpback/humpback.csv
plot_annot_distrib.py
+2
-2
2 additions, 2 deletions
plot_annot_distrib.py
with
7506 additions
and
515779 deletions
.gitignore
+
2
−
0
View file @
317fed95
...
@@ -11,3 +11,5 @@ otter/pone.0112562.s003.xlsx
...
@@ -11,3 +11,5 @@ otter/pone.0112562.s003.xlsx
zebra_finch/Library_notes.pdf
zebra_finch/Library_notes.pdf
annot_distrib.pdf
annot_distrib.pdf
annot_distrib.tex
annot_distrib.tex
humpback/annot
humpback_CARIMAM/
This diff is collapsed.
Click to expand it.
good_species.txt
+
1
−
1
View file @
317fed95
...
@@ -3,5 +3,5 @@ bengalese_finch2
...
@@ -3,5 +3,5 @@ bengalese_finch2
california_thrashers
california_thrashers
cassin_vireo
cassin_vireo
black-headed_grosbeaks
black-headed_grosbeaks
humpback
2
humpback
zebra_finch
zebra_finch
This diff is collapsed.
Click to expand it.
humpback/humpback.csv
100755 → 100644
+
7501
−
515776
View file @
317fed95
This diff is collapsed.
Click to expand it.
plot_annot_distrib.py
+
2
−
2
View file @
317fed95
...
@@ -12,10 +12,10 @@ plt.tight_layout()
...
@@ -12,10 +12,10 @@ plt.tight_layout()
plt
.
savefig
(
'
annot_distrib.pdf
'
)
plt
.
savefig
(
'
annot_distrib.pdf
'
)
a
=
"
Specie & \# Classes & \# Annotated samples & \# Samples
\\\\
\hline
\n
"
a
=
"
Specie & \# Classes & \# Annotated samples & \# Samples
& Proportion of annotations
\\\\
\hline
\n
"
for
specie
in
species
:
for
specie
in
species
:
df
=
pd
.
read_csv
(
f
'
{
specie
}
/
{
specie
}
.csv
'
)
df
=
pd
.
read_csv
(
f
'
{
specie
}
/
{
specie
}
.csv
'
)
a
+=
f
"
{
specie
.
replace
(
'
_
'
,
'
'
)
}
&
{
df
.
label
.
nunique
()
}
&
{
(
~
df
.
label
.
isna
()).
sum
()
}
&
{
len
(
df
)
}
\\\\
\hline
\n
"
a
+=
f
"
{
specie
.
replace
(
'
_
'
,
'
'
)
}
&
{
df
.
label
.
nunique
()
}
&
{
(
~
df
.
label
.
isna
()).
sum
()
}
&
{
len
(
df
)
}
&
{
int
(
100
*
(
~
df
.
label
.
isna
()).
sum
()
/
len
(
df
))
}
\\\\
\hline
\n
"
f
=
open
(
'
annot_distrib.tex
'
,
'
w
'
)
f
=
open
(
'
annot_distrib.tex
'
,
'
w
'
)
f
.
write
(
a
)
f
.
write
(
a
)
f
.
close
()
f
.
close
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment