Skip to content

I can't find "./Data/RAS_LOGS" mentioned by Quick Start in project files. Where did it come from? #2

@Millet-Sea

Description

@Millet-Sea

And when I try to run the code ,it comes to an error:

(venv) E:\LogClass\LogClass-master>python -m logclass --train --kfold 3 --logs_type "bgl" --raw_logs "data/open_source_logs" --report macro

Experiment ID: 3077882225
-------------------------------------params-------------------------------------
Beginning experiment using the following configuration:

           report: ['macro']
            train: True
            force: False
         base_dir: E:\LogClass\LogClass-master\output
        logs_type: bgl
    healthy_label: unlabeled
         features: ['tfilf']
    binary_classifier: pu_learning
    multi_classifier: svm
             swap: False
         raw_logs: data\open_source_logs
            kfold: 3
             logs: E:\LogClass\LogClass-master\output\preprocessed_logs\bgl.txt
               id: 3077882225
           id_dir: E:\LogClass\LogClass-master\output\logclass_bgl_3077882225
       models_dir: E:\LogClass\LogClass-master\output\logclass_bgl_3077882225\models
     features_dir: E:\LogClass\LogClass-master\output\logclass_bgl_3077882225\features
      results_dir: E:\LogClass\LogClass-master\output\logclass_bgl_3077882225\results

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "E:\LogClass\LogClass-master\logclass.py", line 199, in
main()
File "E:\LogClass\LogClass-master\logclass.py", line 188, in main
preprocess = preprocess_registry.get_preprocessor(params['logs_type'])
File "E:\LogClass\LogClass-master\preprocess\registry.py", line 20, in get_preprocessor
return _PREPROCESSORS[data_src]
KeyError: 'bgl'

Is there anything missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions