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 May 31, 2021
1 parent 4fcc00c commit 5b7f326
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Empty file.
Empty file.
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 ContextualBandits import cressieread
from ContextualBandits import ips_snips
from ContextualBandits import mle
import ds_parse
import cats_utils
from ContextualBandits 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 ConditionalContextualBandits import pseudo_inverse
from ContextualBandits import ips_snips
from ContextualBandits 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 5b7f326

Please sign in to comment.