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

Initialization error with Kitnet if feature_map is provided #35

Open
bowl-of-porrige opened this issue Nov 9, 2024 · 0 comments
Open

Comments

@bowl-of-porrige
Copy link

Incorrect initialisation of Kitnet (Kitnet.py line 45). If feature_map is provided in the Kitunet, it will jump straight to self.createAD() function without self.ensembleLayer = [] being initialized. Hence the initialization of Kitsune from line 45 should be:

    self.ensembleLayer = []
    self.outputLayer = None

    if self.v is None:
        self.logger.info("Feature-Mapper: train-mode, Anomaly-Detector: off-mode")
        self.FM = CC.corClust(self.n) #incremental feature cluatering for the feature mapping process
    else:
        self.__createAD__()
        self.logger.info("Feature-Mapper: execute-mode, Anomaly-Detector: train-mode")
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

1 participant