testzero-wz / analog Goto Github PK
View Code? Open in Web Editor NEW一款基于机器学习的Web日志统计分析与异常检测命令行工具
一款基于机器学习的Web日志统计分析与异常检测命令行工具
[root@iz2ze3paasmtr91yja3vgwz analog]# python3 main.py
/usr/local/lib64/python3.6/site-packages/scipy/init.py:147: UserWarning: NumPy 1.14.5 or above is required for this version of SciPy (detected version 1.14.3)
UserWarning)
AnaLog
Blog: https://www.testzero-wz.com
Email: [email protected]
[*] Logs had been loaded before.Type reload command to reload logs.
Traceback (most recent call last):
File "main.py", line 14, in main
controller = Controller(path)
File "/root/test/analog/analog/bin/controller/controller.py", line 134, in init
self.tfidfVector = TfidfVector(self.path, self.config)
File "/root/test/analog/analog/bin/machine_learning/TfidfVector.py", line 22, in init
self.__fit()
File "/root/test/analog/analog/bin/machine_learning/TfidfVector.py", line 28, in __fit
self.fit_vector = self.fit_transform(fit_list)
File "/usr/local/lib64/python3.6/site-packages/sklearn/feature_extraction/text.py", line 1851, in fit_transform
self._tfidf.fit(X)
File "/usr/local/lib64/python3.6/site-packages/sklearn/feature_extraction/text.py", line 1437, in fit
X = check_array(X, accept_sparse=('csr', 'csc'))
File "/usr/local/lib64/python3.6/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/usr/local/lib64/python3.6/site-packages/sklearn/utils/validation.py", line 672, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 1000000)) while a minimum of 1 is required.
Found array with 0 sample(s) (shape=(0, 1000000)) while a minimum of 1 is required.
您好,能否留个微信,商量合作
目前没有更新,作者大佬是否考虑继续更新实时的呢,可以一起做做
如题,谢谢
哪位大佬提供一些日志训练样本,谢谢。
大佬能不能加一下联系方式
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.