Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Indirect Active Learning
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shashank Singh
Indirect Active Learning
Commits
a1140438
Commit
a1140438
authored
2 years ago
by
Shashank Singh
Browse files
Options
Downloads
Patches
Plain Diff
Figures now include no Type 3 fonts.
parent
c4ff3339
Branches
main
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
figure_3.py
+5
-0
5 additions, 0 deletions
figure_3.py
figure_4.py
+5
-0
5 additions, 0 deletions
figure_4.py
figure_5.py
+5
-0
5 additions, 0 deletions
figure_5.py
with
15 additions
and
0 deletions
figure_3.py
+
5
−
0
View file @
a1140438
...
...
@@ -6,6 +6,11 @@ from tqdm import tqdm
from
knn_regressors
import
passive_knn_regressor
,
active_knn_regressor
,
oracle_knn_regressor
from
sampler
import
Sampler
# Prevent matplotlib from using Type 3 fonts
import
matplotlib
matplotlib
.
rcParams
[
'
pdf.fonttype
'
]
=
42
matplotlib
.
rcParams
[
'
ps.fonttype
'
]
=
42
plt
.
rc
(
'
font
'
,
size
=
20
)
# Increase matplotlib default font size
np
.
random
.
seed
(
0
)
# Fix random seed for reproducibility
...
...
This diff is collapsed.
Click to expand it.
figure_4.py
+
5
−
0
View file @
a1140438
...
...
@@ -5,6 +5,11 @@ from tqdm import tqdm
from
knn_regressors
import
passive_knn_regressor
,
active_knn_regressor
from
SIR_simulation
import
Sampler
# Prevent matplotlib from using Type 3 fonts
import
matplotlib
matplotlib
.
rcParams
[
'
pdf.fonttype
'
]
=
42
matplotlib
.
rcParams
[
'
ps.fonttype
'
]
=
42
plt
.
rc
(
'
font
'
,
size
=
22
)
# Increase matplotlib default font size
np
.
random
.
seed
(
0
)
# Fix random seed for reproducibility
...
...
This diff is collapsed.
Click to expand it.
figure_5.py
+
5
−
0
View file @
a1140438
...
...
@@ -4,6 +4,11 @@ import numpy as np
from
knn_regressors
import
active_knn_regressor
,
oracle_knn_regressor
from
SIR_simulation
import
Sampler
# Prevent matplotlib from using Type 3 fonts
import
matplotlib
matplotlib
.
rcParams
[
'
pdf.fonttype
'
]
=
42
matplotlib
.
rcParams
[
'
ps.fonttype
'
]
=
42
plt
.
rc
(
'
font
'
,
size
=
22
)
# Increase matplotlib default font size
np
.
random
.
seed
(
0
)
# Fix random seed for reproducibility
...
...
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