Skip to content

Instantly share code, notes, and snippets.

@nogawanogawa
nogawanogawa / openp5_create_dataset.ipynb
Last active November 5, 2023 03:07
OpenP5_create_dataset.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from .ranking import BalancedRanking
from .interleaving_method import InterleavingMethod
import numpy as np
class Balanced(InterleavingMethod):
'''
Balanced Interleaving
Args:
from .ranking import TeamRanking
from .interleaving_method import InterleavingMethod
import numpy as np
class TeamDraft(InterleavingMethod):
'''
Team Draft Interleaving
'''
def _sample(self, max_length, lists):
'''
from .ranking import ProbabilisticRanking
from .interleaving_method import InterleavingMethod
import numpy as np
import scipy.special as special
class Probabilistic(InterleavingMethod):
'''
Probabilistic Interleaving
@nogawanogawa
nogawanogawa / bias_simulation_sample.ipynb
Created October 10, 2021 00:55
bias_simulation_sample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nogawanogawa
nogawanogawa / replay_method_sample.ipynb
Created October 9, 2021 23:46
replay_method_sample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nogawanogawa
nogawanogawa / bias_simulation.ipynb
Created October 9, 2021 23:43
bias_simulation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nogawanogawa
nogawanogawa / bias_simulation.ipynb
Last active October 9, 2021 23:32
bias_simulation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.