Skip to content
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

How to handle unlabelled data #21

Open
neural-nerd-raj opened this issue Feb 18, 2024 · 2 comments
Open

How to handle unlabelled data #21

neural-nerd-raj opened this issue Feb 18, 2024 · 2 comments

Comments

@neural-nerd-raj
Copy link

I noticed, after load_sessions is called, it has train/test data in form of:
{'templates': ['BLOCK NameSystem.allocateBlock:<>',...], 'label': 0}.**
For unsupervised data there is no label key available.
How to handle this? Do I need to assume '0' as label for unsupervised?

@CattusX
Copy link

CattusX commented Mar 5, 2024

Unsupervised learning should be achieved by setting the "--label_type" parameter to "nextlog", meaning that the ID of the next log in the window is used as a label for unsupervised learning. For supervised learning, the parameter should be set to "anomaly".

@alexjamesmx
Copy link

they do it that way so you can mesure metrics at the end. but int real world applications you wont have label(0 or 1).
Regarding the @new-cat , thats right, labels will be next key given a sequence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants