New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Weka implementations. #95

Merged
merged 11 commits into from Jul 29, 2017

Add a destructor to remove predictions.

  • Loading branch information...
Iron-Stark committed Jul 23, 2017
commit 54c42877ef2f21f1d7c0fab3bd129af7f903400e
@@ -51,6 +51,13 @@ def __init__(self, dataset, timeout=0, path=os.environ["JAVAPATH"],
self.path = path
self.timeout = timeout
def __del__(self):
Log.Info("Clean up.", self.verbose)
filelist = ["weka_predicted.csv"]
for f in filelist:
if os.path.isfile(f):
os.remove(f)
'''
Logistic Regression. If the method has been successfully completed return
the elapsed time in seconds.
ProTip! Use n and p to navigate between commits in a pull request.