Skip to content

Commit

Permalink
Add init files and import changes due to restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
JuiP committed Jun 4, 2021
1 parent 37aa0f7 commit db4d806
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions estimators/basic-usage.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import argparse, os, gzip
import cressieread
import ips_snips
import mle
from contextual_bandits import cressieread
from contextual_bandits import ips_snips
from contextual_bandits import mle
import ds_parse
import cats_utils
from contextual_bandits import cats_utils


def compute_estimates(log_fp, cats_transformer=None):
Expand Down
Empty file added estimators/test/__init__.py
Empty file.
6 changes: 3 additions & 3 deletions estimators/test/test_pi.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

import pseudo_inverse
import ips_snips
import cats_utils
from slates import pseudo_inverse
from contextual_bandits import ips_snips
from contextual_bandits import cats_utils

def test_single_slot_pi_equivalent_to_ips():
"""PI should be equivalent to IPS when there is only a single slot"""
Expand Down

0 comments on commit db4d806

Please sign in to comment.