From fa09da604b8f3a4349a8bbe0509b51b81b45aaf1 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 9 Jul 2020 23:20:19 +0200 Subject: [PATCH 1/2] Add missing torch requirement Both the preprocessing and the DeepLog model depend on torch, add it to the requirements.txt. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 101182e..d4ca823 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ sklearn pandas +torch From eec627792f4651b7254198676bedba6604621773 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 9 Jul 2020 23:21:12 +0200 Subject: [PATCH 2/2] Add basic setup.py to enable package installation via pip --- setup.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a26ae93 --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import setup, find_packages + +setup( + name='loglizer', + version='1.0.0', + url='https://github.com/logpai/loglizer.git', + author='LogPAI', + author_email='info@logpai.com', + description='Machine learning-based log analysis toolkit for automated anomaly detection', + packages=find_packages(), + install_requires=['sklearn', 'pandas', 'torch', 'numpy'], +) \ No newline at end of file