Skip to content

Commit

Permalink
Conforms to D3M API now; changed to python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichelsonIF committed Sep 22, 2017
1 parent 15b6a47 commit 3247d5b
Show file tree
Hide file tree
Showing 6 changed files with 1,305 additions and 57 deletions.
456 changes: 420 additions & 36 deletions dsbox/overfitdetector/detector.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dsbox/overfitdetector/util/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Some utilities for this class"""
17 changes: 17 additions & 0 deletions dsbox/overfitdetector/util/utilities.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import pandas as pd


class Utilities(object):

def csv_to_dataframe(self, path_to_csv):
data = pd.read_csv(path_to_csv) # all read as str
return data

@staticmethod
def is_number(s):
# type: (number) -> number
try:
float(s)
return True
except ValueError:
return False
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
numpy==1.13.1
pandas==0.20.3
python-dateutil==2.6.1
pytz==2017.2
scipy==0.19.1
six==1.10.0
sklearn==0.0
nose==1.3.7
Loading

0 comments on commit 3247d5b

Please sign in to comment.