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

v0.0.3: merge staging into main #361

Merged
merged 205 commits into from
Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
6f19eec
Add tutorial notebooks for sample size experiment
Michael-Ainsworth Oct 6, 2020
880129d
Alter parity parameters
Michael-Ainsworth Oct 13, 2020
b8575ce
Remove verbose output
Michael-Ainsworth Oct 13, 2020
436cd92
Add tutorial description
Michael-Ainsworth Oct 13, 2020
5f262a2
Simplify rotation_cifar tutorial and move functions to a separate file
srahul1222 Oct 14, 2020
e5fe0f6
Merge pull request #314 from neurodata/pypi_uploading
jdey4 Oct 15, 2020
e9dbe12
Added docs badge
levinwil Oct 16, 2020
2b50858
Added downloads shield
levinwil Oct 16, 2020
4bf764a
Updated downloads badge
levinwil Oct 16, 2020
1fc17b5
Update docs badge to point to main
levinwil Oct 16, 2020
d4b98ea
Update voters.py
levinwil Oct 16, 2020
1ec4a2e
Update transformers.py
levinwil Oct 16, 2020
80f9a89
Update base.py
levinwil Oct 16, 2020
65121fb
Update voters.py
levinwil Oct 16, 2020
2029819
Update voters.py
levinwil Oct 16, 2020
6d30481
Update deciders.py
levinwil Oct 16, 2020
50534ad
Update deciders.py
levinwil Oct 16, 2020
8be7031
Update deciders.py
levinwil Oct 16, 2020
217c2e6
Update base.py
levinwil Oct 16, 2020
eb48423
Update transformers.py
levinwil Oct 16, 2020
629322e
Update voters.py
levinwil Oct 16, 2020
14c62b0
Update transformers.py
levinwil Oct 16, 2020
02ea1f7
Update forest.py
levinwil Oct 16, 2020
ad8b1b6
Update network.py
levinwil Oct 16, 2020
accb6b0
Update progressive_learner.py
levinwil Oct 16, 2020
cfcc7e9
Update README.md
levinwil Oct 16, 2020
1b9541c
fixed tests given new sklearn docs update
Oct 16, 2020
f6972cc
ensured docs are reproducible
Oct 16, 2020
9c04edb
corrected docs badges
Oct 16, 2020
438221a
removed base progressive learner from docs
Oct 16, 2020
a675fc7
simplify and run rotation_cifar with benchmark test hyperparams
srahul1222 Oct 17, 2020
5c5b8a6
fix merge conflicts
srahul1222 Oct 17, 2020
6c78914
Merge pull request #318 from neurodata/sklearn_docs_update
jdey4 Oct 17, 2020
b69dac6
Merge pull request #317 from neurodata/badges
jdey4 Oct 17, 2020
95387b8
Merge pull request #319 from srahul1222/my-feature
levinwil Oct 17, 2020
e4990b8
Remove requirement redundancy
PSSF23 Oct 17, 2020
c678477
Include version requirements
PSSF23 Oct 17, 2020
f663fef
Merge pull request #320 from PSSF23/trust_in_you
levinwil Oct 17, 2020
2a0d6cd
Create file for separate sporf figures
Michael-Ainsworth Oct 18, 2020
1795dd2
Remove verbose
Michael-Ainsworth Oct 18, 2020
1e6db61
Remove verbose rf only
Michael-Ainsworth Oct 18, 2020
7de603a
Update fork with changes from neurodata/staging
Michael-Ainsworth Oct 18, 2020
fe592a4
Update rf wins branch from Michael-Ainsworth/master
Michael-Ainsworth Oct 18, 2020
c632b47
Move toturials into docs
Michael-Ainsworth Oct 18, 2020
435b172
Remove sporf distributions
Michael-Ainsworth Oct 18, 2020
23231f9
forest.py line 237 change max_depth to self.max_depth
EYezerets Oct 18, 2020
8f20cb3
Merge pull request #323 from neurodata/EYezerets-patch-line237
levinwil Oct 18, 2020
47f1e07
Merge pull request #1 from neurodata/staging
EYezerets Oct 19, 2020
6bedb32
add uf_posterior_visualization and functions in benchmarks
EYezerets Oct 19, 2020
c64179a
Fixed network.py default overload
levinwil Oct 19, 2020
9782817
Fixed forest.py default overloading
levinwil Oct 19, 2020
e36d958
Update forest.py default documentation
levinwil Oct 19, 2020
5fc6d58
Update network.py default documentation
levinwil Oct 19, 2020
fd64951
black formatted {network, forest}.py
Oct 19, 2020
5e89bd1
Merge pull request #324 from neurodata/default_overload_fix
jdey4 Oct 19, 2020
e63226d
figure 1 full run
EYezerets Oct 19, 2020
e9665ff
Update forest.py
levinwil Oct 19, 2020
f243592
black formatted fores.py
Oct 19, 2020
49be5e2
Update forest.py n_estimators documentation to reflect true default
levinwil Oct 19, 2020
313a0aa
black formatted forest.py
Oct 19, 2020
4ef53d6
Update test_forest to reflect parameter name change
levinwil Oct 19, 2020
2f30a75
Merge pull request #327 from neurodata/add_n_estimators_to_forest
jdey4 Oct 19, 2020
9f1579f
Update text in fig1 in benchmarks
EYezerets Oct 19, 2020
d14a83c
add tree construction parameter to UncertaintyForest
EYezerets Oct 20, 2020
18acf01
Merge pull request #2 from neurodata/staging
EYezerets Oct 20, 2020
ec495e5
add doc string in UF, updated from neurodata staging branch
EYezerets Oct 20, 2020
5d21b36
navigate to docs/tutorials/functions - attempt 1
EYezerets Oct 20, 2020
30fcd37
navigate to docs/tutorials/functions - attempt 2
EYezerets Oct 20, 2020
a31566d
add path to functions - attempt 1
EYezerets Oct 20, 2020
8d7a6ed
Include varying hidden node and batch size plots
Michael-Ainsworth Oct 20, 2020
48d5d21
Add docstrings to model functions
Michael-Ainsworth Oct 20, 2020
52409a9
Figure 1 full run with tree_construction_proportion = 0.4
EYezerets Oct 21, 2020
c262c6b
black formatted proglearn
EYezerets Oct 21, 2020
f844065
Merge pull request #328 from EYezerets/staging
levinwil Oct 21, 2020
220d45c
Merge pull request #3 from neurodata/staging
EYezerets Oct 21, 2020
34ef825
Update index.rst
levinwil Oct 21, 2020
fd38405
Delete voter.rst
levinwil Oct 21, 2020
bba284b
Delete decider.rst
levinwil Oct 21, 2020
3e0d4c2
Delete transformer.rst
levinwil Oct 21, 2020
a41071a
Merge pull request #329 from neurodata/doc_minimization
jdey4 Oct 21, 2020
038c91f
Update network.py
levinwil Oct 21, 2020
7bb6090
black formatted
Oct 21, 2020
66461b4
External Usage Minimization
levinwil Oct 21, 2020
1f4d900
added spiral simulation code
jdey4 Oct 22, 2020
4b29fb5
changed source codes with print statement
jdey4 Oct 22, 2020
f5d01f4
fixed different length voters bug
Oct 22, 2020
993181f
Updated sampling to be without replacement
levinwil Oct 22, 2020
5b193ba
black formatted
Oct 22, 2020
62dcb93
bug fix
levinwil Oct 22, 2020
ef1ad97
finite sample correction bug fix
Oct 22, 2020
a43d078
reorganized spiral experiment
jdey4 Oct 22, 2020
f974c7a
black formatted
Oct 22, 2020
87c5d03
Merge pull request #334 from neurodata/external_usage_minimization
jdey4 Oct 22, 2020
273785b
Merge pull request #333 from neurodata/network_construction_proportio…
jdey4 Oct 22, 2020
9434664
Merge pull request #4 from neurodata/sample_without_replacement
EYezerets Oct 22, 2020
8f5ad6e
black formatted
jdey4 Oct 22, 2020
8430f16
Merge pull request #335 from neurodata/sample_without_replacement
jdey4 Oct 22, 2020
c4555b3
implement kappa in forest, voters, and figure 1
EYezerets Oct 22, 2020
034bdc3
black format proglearn
EYezerets Oct 22, 2020
1946c0c
fig fixed
jdey4 Oct 23, 2020
9070795
fig fixed
jdey4 Oct 23, 2020
f641141
fixed legends
jdey4 Oct 23, 2020
f478eee
fig fixed
jdey4 Oct 23, 2020
4622523
Merge pull request #338 from neurodata/hotfix_fig
levinwil Oct 23, 2020
a6a4b57
Merge pull request #5 from neurodata/staging
EYezerets Oct 23, 2020
68f4cc9
fixed bug in missing_label_indices indexing by value instead of index
emilyachang Oct 24, 2020
109a335
Merge pull request #341 from emilyachang/missing_label_indices-fix
levinwil Oct 24, 2020
e6ab8db
Merge pull request #1 from neurodata/main
bstraus1 Oct 25, 2020
9ac3208
Merge pull request #3 from neurodata/staging
Michael-Ainsworth Oct 26, 2020
cf1fe68
Add new tutorial notebook
Michael-Ainsworth Oct 26, 2020
da9ef23
Updated and refined xor_nxor experiment tutorial
bstraus1 Oct 26, 2020
aa95f0f
Removed unnecessary imports
bstraus1 Oct 26, 2020
ca27fa8
Fixed legend font size
bstraus1 Oct 26, 2020
605cae6
Merge pull request #343 from bstraus1/main
levinwil Oct 27, 2020
ecb66cd
Added missing import statement
bstraus1 Oct 27, 2020
d501083
Merge pull request #344 from bstraus1/main
levinwil Oct 28, 2020
532545b
Update progressive_learner.py
levinwil Oct 28, 2020
3966f71
Merge pull request #6 from neurodata/staging
EYezerets Oct 28, 2020
e010504
Type checked inputs X, y to forest.py
levinwil Oct 28, 2020
6300e14
Update forest.py
levinwil Oct 28, 2020
b55d8d4
Type checked inputs X, y to network.py
levinwil Oct 28, 2020
dc7394c
Updated sklearn imports
levinwil Oct 28, 2020
040cdbf
Updated sklearn imports
levinwil Oct 28, 2020
a89569b
Update spiral_sim to support black
levinwil Oct 28, 2020
8fa67dc
black formatted
Oct 28, 2020
1c1ee95
black formatted
Oct 28, 2020
bfeeb0c
Merge pull request #336 from neurodata/spiral
levinwil Oct 28, 2020
a7898e3
Update docs license
levinwil Oct 29, 2020
8c50a4e
test with kappa - tutorial ntbk fig 1
EYezerets Oct 29, 2020
29d7abf
from AWS
EYezerets Oct 29, 2020
6466de1
Merge branch 'staging' of https://github.com/EYezerets/ProgLearn into…
EYezerets Oct 29, 2020
a5b6039
voters self.kappa line 87
EYezerets Oct 29, 2020
6916804
Merge branch 'staging' of https://github.com/EYezerets/ProgLearn into…
EYezerets Oct 29, 2020
a4551f8
tutorial fig 1 with kappa=3
EYezerets Oct 29, 2020
60d0adc
missing label indices fix
emilyachang Oct 29, 2020
bf725b0
Make final figure edits
Michael-Ainsworth Oct 29, 2020
f8b972d
Clear verbose outputs
Michael-Ainsworth Oct 29, 2020
f5895cb
Scale sample sizes and add functions file
Michael-Ainsworth Oct 29, 2020
ed5c752
Merge pull request #350 from emilyachang/missing-indices-fix
levinwil Oct 30, 2020
137deb8
full run figure 1 kappa=3
EYezerets Oct 30, 2020
390cff9
remove unnecessary pdf and unfinished fig 2 ntbk
EYezerets Oct 30, 2020
f4d4d32
Merge pull request #349 from neurodata/docs_license_update
jdey4 Nov 1, 2020
2794d76
Update codecov.yml
PSSF23 Nov 2, 2020
0018036
Follow naming convention
PSSF23 Nov 2, 2020
088e869
Merge branch 'staging' into staging
levinwil Nov 2, 2020
a9d19e2
Merge pull request #355 from PSSF23/awake
jdey4 Nov 3, 2020
00f36e6
Merge pull request #3 from neurodata/staging
bstraus1 Nov 3, 2020
011b541
Merge pull request #7 from neurodata/staging
EYezerets Nov 3, 2020
1b5e923
Version 1 (not yet run)
bstraus1 Nov 3, 2020
8888652
Change sample size argument
Michael-Ainsworth Nov 3, 2020
756e967
Update fork from staging
Michael-Ainsworth Nov 4, 2020
fb48b2e
Pull main into rf-wins
Michael-Ainsworth Nov 4, 2020
5e646fe
Add comments for tutorial notebook
Michael-Ainsworth Nov 4, 2020
9944d47
change test_forest to use kappa
EYezerets Nov 4, 2020
705c952
fig 2 tutorial
EYezerets Nov 4, 2020
32a76f2
call generate_data_fig2
EYezerets Nov 4, 2020
5be0dd2
move estimate_ce to functions
EYezerets Nov 4, 2020
0e10760
UncertaintyForest n_estimators = 300
EYezerets Nov 4, 2020
a7d8884
test forest set default_kappa = np.inf
EYezerets Nov 4, 2020
b789b36
Merge pull request #353 from EYezerets/staging
levinwil Nov 4, 2020
2dae823
Optimize markdown formats for netlify
PSSF23 Nov 5, 2020
672dbfa
Changed headers to be more descriptive for online display
bstraus1 Nov 5, 2020
80347cc
Merge pull request #357 from PSSF23/intermezzo
levinwil Nov 5, 2020
079a352
Moved to a different branch
bstraus1 Nov 5, 2020
7b2e95a
tutorial format for netlify?
EYezerets Nov 5, 2020
e2d4467
Changed metadata after locally overwritten
EYezerets Nov 5, 2020
6b91aff
cart_estimate lowercase
EYezerets Nov 5, 2020
d4dd664
circumvent Parallel for debugging
EYezerets Nov 5, 2020
ac50499
Fixed headings
bstraus1 Nov 6, 2020
c327af6
Resolving merge conflict
bstraus1 Nov 6, 2020
8795070
Merge pull request #358 from bstraus1/main
levinwil Nov 7, 2020
1481998
Update fork from staging
Michael-Ainsworth Nov 8, 2020
4faedb4
Pull changes to rf-wins
Michael-Ainsworth Nov 8, 2020
d8453d7
Remove old notebooks and relocate python functions
Michael-Ainsworth Nov 9, 2020
a6c383a
Run tutorial notebook with 5 trial sample test
Michael-Ainsworth Nov 9, 2020
f43f6fc
Remove time and train test split imports
Michael-Ainsworth Nov 9, 2020
d9fb091
Rerun tutorial notebook with spaced xticks
Michael-Ainsworth Nov 9, 2020
b047509
Merge pull request #8 from neurodata/staging
EYezerets Nov 11, 2020
ab7320d
Merge pull request #9 from EYezerets/staging
EYezerets Nov 11, 2020
8e2ad15
figure 2 - moved functions back into notebook for testing, encountere…
EYezerets Nov 11, 2020
b3e0018
Merge pull request #359 from Michael-Ainsworth/rf-wins
levinwil Nov 11, 2020
2036c1b
self.lf_ linked in forest.py, key error in fig2tutorial notebook
EYezerets Nov 11, 2020
ab3b9bb
Removed an extra link to the installation guide in docs
levinwil Nov 11, 2020
3efec08
Merge pull request #362 from neurodata/docs_repetition_minimization
PSSF23 Nov 12, 2020
a0f7c19
Merge pull request #346 from neurodata/progressive_learner_docstring_…
PSSF23 Nov 12, 2020
e2bd528
runs figure 2 tutorial, functions defined in notebook, not parallel
EYezerets Nov 12, 2020
139188f
Add missing doc
PSSF23 Nov 12, 2020
a2a5a11
runs figure 2 tutorial, functions in unc_forest_tutorials_fucntions.p…
EYezerets Nov 12, 2020
587b230
Update README.md
PSSF23 Nov 12, 2020
10870f2
test parallel
EYezerets Nov 13, 2020
2a6090b
fig2tutorial run on AWS, parallel
EYezerets Nov 13, 2020
d99e681
Merge pull request #364 from PSSF23/wanderers
levinwil Nov 15, 2020
a75651c
Change imports to use keras
Michael-Ainsworth Nov 16, 2020
06aa340
Change imports to use keras
Michael-Ainsworth Nov 16, 2020
c877b2f
Merge branch 'rf-wins' of https://github.com/Michael-Ainsworth/progre…
Michael-Ainsworth Nov 16, 2020
44acda0
Merge pull request #368 from Michael-Ainsworth/rf-wins
levinwil Nov 16, 2020
7e06bde
no pkl output
EYezerets Nov 16, 2020
e3ae0fa
with Parallel, on AWS
EYezerets Nov 16, 2020
82e4a01
tutorials.rst updated, text updated in uf tutorials, need to rerun fi…
EYezerets Nov 16, 2020
b48af2b
correct notebook formatting error in defining algos in fig2 tutorial
EYezerets Nov 16, 2020
2ef83f9
Merge branch 'staging' into fig2tutorial
PSSF23 Nov 16, 2020
81096b8
fig 2 tutorial run
EYezerets Nov 16, 2020
ed0dfd3
Merge branch 'fig2tutorial' of https://github.com/EYezerets/ProgLearn…
EYezerets Nov 16, 2020
17ff5ac
remove extra cell in uncertaintyforest_running_example tutorial
EYezerets Nov 16, 2020
ec29e47
Merge pull request #365 from EYezerets/fig2tutorial
PSSF23 Nov 17, 2020
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
24 changes: 24 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
codecov:
token: d73047ad-2322-4be0-962c-7de537deff4a
branch: main

coverage:
status:
project:
default:
# Commits pushed to main should not make the overall
# project coverage decrease by more than 1%:
target: auto
threshold: 1%
patch:
default:
# Be tolerant on slight code coverage diff on PRs to limit
# noisy red coverage status on github PRs.
# Note: The coverage stats are still uploaded
# to codecov so that PR reviewers can see uncovered lines
target: auto
threshold: 1%

ignore:
- "proglearn/sims"
- "proglearn/tests"
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# ProgLearn

[![Build Status](https://travis-ci.org/neurodata/ProgLearn.svg?branch=main)](https://travis-ci.org/neurodata/ProgLearn)
[![codecov](https://codecov.io/gh/neurodata/ProgLearn/branches/main/graph/badge.svg)](https://codecov.io/gh/neurodata/ProgLearn)
[![Codecov](https://codecov.io/gh/neurodata/ProgLearn/branches/main/graph/badge.svg)](https://codecov.io/gh/neurodata/ProgLearn)
[![PyPI version](https://img.shields.io/pypi/v/proglearn.svg)](https://pypi.org/project/proglearn/)
[![arXiv shield](https://img.shields.io/badge/arXiv-2004.12908-red.svg?style=flat)](https://arxiv.org/abs/2004.12908)
[![arXiv](https://img.shields.io/badge/arXiv-2004.12908-red.svg?style=flat)](https://arxiv.org/abs/2004.12908)
[![License](https://img.shields.io/badge/License-MIT-blue)](https://opensource.org/licenses/MIT)
[![Netlify Status](https://img.shields.io/netlify/97f86f49-81ed-4292-a100-f7031b54ecc7)](https://app.netlify.com/sites/neuro-data-proglearn/deploys)
[![Downloads](https://img.shields.io/pypi/dm/proglearn.svg)](https://pypi.org/project/proglearn/#files)


`ProgLearn` (**Prog**ressive **Learn**ing) is a package for exploring and using progressive learning algorithms developed by the [neurodata group](https://neurodata.io).

Expand Down
87 changes: 43 additions & 44 deletions benchmarks/parity_experiment/experiment.ipynb

Large diffs are not rendered by default.

52 changes: 8 additions & 44 deletions benchmarks/parity_experiment/generate_paper_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_colors(colors, inds):

ns = np.concatenate((n1s, n2s + n1s[-1]))
ls = ["-", "--"]
algorithms = ["XOR Forest", "N-XOR Forest", "Lifelong Forest", "Naive Forest"]
algorithms = ["XOR Forest", "N-XOR Forest", "Progressive Learning Forest (PLF)", "Random Forest (RF)"]


TASK1 = "XOR"
Expand All @@ -92,23 +92,6 @@ def get_colors(colors, inds):
colors = sns.color_palette("Set1", n_colors=2)

ax1 = fig.add_subplot(gs[7:13, 2:8])
# for i, algo in enumerate(algorithms):
ax1.plot(
n1s,
mean_error[0, : len(n1s)],
label=algorithms[0],
c=colors[1],
ls=ls[np.sum(0 > 1).astype(int)],
lw=3,
)
ax1.plot(
ns[len(n1s) :],
mean_error[2, len(n1s) :],
label=algorithms[1],
c=colors[1],
ls=ls[1],
lw=3,
)

ax1.plot(
ns,
Expand All @@ -134,7 +117,7 @@ def get_colors(colors, inds):
ax1.set_xlabel("Total Sample Size", fontsize=fontsize)
ax1.tick_params(labelsize=labelsize)
ax1.set_yticks([0.1, 0.3, 0.5])
ax1.set_xticks([250, 750, 1500])
ax1.set_xticks([50, 750, 1500])
# ax1.axvline(x=750, c='gray', linewidth=1.5, linestyle="dashed")
ax1.set_title("XOR", fontsize=30)

Expand All @@ -149,43 +132,25 @@ def get_colors(colors, inds):
#######################
mean_error = unpickle("plots/mean_xor_nxor.pickle")

algorithms = ["XOR Forest", "N-XOR Forest", "Lifelong Forest", "Naive Forest"]
algorithms = ["XOR Forest", "N-XOR Forest", "Progressive Learning Forest (PLF)", "Random Forest (RF)"]

TASK1 = "XOR"
TASK2 = "N-XOR"

ax1 = fig.add_subplot(gs[7:13, 10:16])
ax1.plot(
n1s,
mean_error[0, : len(n1s)],
label=algorithms[0],
c=colors[1],
ls=ls[np.sum(0 > 1).astype(int)],
lw=3,
)
ax1.plot(
ns[len(n1s) :],
mean_error[2, len(n1s) :],
label=algorithms[1],
c=colors[1],
ls=ls[1],
lw=3,
)

ax1.plot(
ns[len(n1s) :],
mean_error[3, len(n1s) :],
label=algorithms[2],
c=colors[0],
ls=ls[1],
lw=3,
)
ax1.plot(
ns[len(n1s) :],
mean_error[5, len(n1s) :],
label=algorithms[3],
c="g",
ls=ls[1],
lw=3,
)

Expand All @@ -196,7 +161,7 @@ def get_colors(colors, inds):
ax1.tick_params(labelsize=labelsize)
ax1.set_yticks([0.1, 0.5, 0.9])
# ax1.set_yticks([0.15, 0.2])
ax1.set_xticks([250, 750, 1500])
ax1.set_xticks([50, 750, 1500])
# ax1.axvline(x=750, c='gray', linewidth=1.5, linestyle="dashed")

# ax1.set_ylim(0.11, 0.21)
Expand All @@ -214,7 +179,7 @@ def get_colors(colors, inds):

##################
mean_te = unpickle("plots/mean_te_xor_nxor.pickle")
algorithms = ["Lifelong BTE", "Lifelong FTE", "Naive BTE", "Naive FTE"]
algorithms = ["PLF BTE", "PLF FTE", "RF BTE", "RF FTE"]

TASK1 = "XOR"
TASK2 = "N-XOR"
Expand Down Expand Up @@ -243,7 +208,7 @@ def get_colors(colors, inds):
ax1.set_xlabel("Total Sample Size", fontsize=fontsize)
ax1.tick_params(labelsize=labelsize)
ax1.set_yticks([0.05, 1, 2.5])
ax1.set_xticks([250, 750, 1500])
ax1.set_xticks([50, 750, 1500])
# ax1.axvline(x=750, c='gray', linewidth=1.5, linestyle="dashed")
right_side = ax1.spines["right"]
right_side.set_visible(False)
Expand All @@ -270,13 +235,12 @@ def get_colors(colors, inds):
mean_te[1, len(n1s) :],
label=algorithms[1],
c=colors[0],
ls=ls[1],
lw=3,
)

ax1.plot(ns, mean_te[2], label=algorithms[2], c="g", ls=ls[0], lw=3)
ax1.plot(
ns[len(n1s) :], mean_te[3, len(n1s) :], label=algorithms[3], c="g", ls=ls[1], lw=3
ns[len(n1s) :], mean_te[3, len(n1s) :], label=algorithms[3], c="g", lw=3
)

ax1.set_ylabel("Forward/Backward \n Transfer Efficiency (FTE/BTE)", fontsize=fontsize)
Expand All @@ -285,7 +249,7 @@ def get_colors(colors, inds):
ax1.set_xlabel("Total Sample Size", fontsize=fontsize)
ax1.tick_params(labelsize=labelsize)
ax1.set_yticks([0.2, 0.6, 1, 1.2])
ax1.set_xticks([250, 750, 1500])
ax1.set_xticks([50, 750, 1500])
# ax1.axvline(x=750, c='gray', linewidth=1.5, linestyle="dashed")
right_side = ax1.spines["right"]
right_side.set_visible(False)
Expand Down
Binary file modified benchmarks/parity_experiment/plots/parity_exp.pdf
Binary file not shown.
548 changes: 548 additions & 0 deletions benchmarks/spiral_experiment/experiment.ipynb

Large diffs are not rendered by default.

Binary file not shown.
187 changes: 187 additions & 0 deletions benchmarks/uf_posterior_visualization/uncertaintyforest_fig1.ipynb

Large diffs are not rendered by default.

174 changes: 0 additions & 174 deletions benchmarks/xor_rxor_spiral_exp/control_exp.py

This file was deleted.

Loading