Skip to content

Commit 144091b

Browse files
authored
Initial file structure changes for Package (#16)
1 parent 993c080 commit 144091b

File tree

15 files changed

+57
-8
lines changed

15 files changed

+57
-8
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#Jupyter notebook checkpoints
2+
**/.ipynb_checkpoints/*
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
*.egg-info
9+
10+
# Python build artifacts
11+
build/
12+
dist/
13+
14+
#ignored examples files
15+
examples/*.log
16+
17+
# Editors
18+
.vscode/
19+
.idea/
20+
21+
# Type checking
22+
.mypy_cache
23+
24+
.coverage

estimators/__init__.py

Whitespace-only changes.

basic-usage.py renamed to estimators/basic-usage.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import argparse, os, gzip
2-
import cressieread
3-
import ips_snips
4-
import mle
5-
import ds_parse
6-
import cats_utils
2+
from contextual_bandits import cressieread
3+
from contextual_bandits import ips_snips
4+
from contextual_bandits import mle
5+
from utils import ds_parse
6+
from contextual_bandits import cats_utils
77

88

99
def compute_estimates(log_fp, cats_transformer=None):

estimators/contextual_bandits/__init__.py

Whitespace-only changes.

cats_utils.py renamed to estimators/contextual_bandits/cats_utils.py

File renamed without changes.

cressieread.py renamed to estimators/contextual_bandits/cressieread.py

File renamed without changes.

ips_snips.py renamed to estimators/contextual_bandits/ips_snips.py

File renamed without changes.

estimators/slates/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)