AI Bugfinder
A static analyzer powered by AI
  • Introduction
  • Designing pipelines
  • Designing processing classes
  • Example pipelines
  • API documentation
    • bugfinder
      • bugfinder.settings
      • bugfinder.models
        • ClassifierModel
        • bugfinder.models.linear_classifier
        • bugfinder.models.lstm_classifier
        • bugfinder.models.interproc_lstm
        • bugfinder.models.blstm_classifier
        • bugfinder.models.sequential
        • bugfinder.models.dnn_classifier
      • bugfinder.utils
      • bugfinder.base
      • bugfinder.features
      • bugfinder.processing
AI Bugfinder
  • »
  • API documentation »
  • bugfinder »
  • bugfinder.models

bugfinder.models

Abstract classifier model for the dataset.

class bugfinder.models.ClassifierModel(dataset)

Bases: AbstractProcessing

Abstract class for classifier models

execute(name, batch_size=100, max_items=None, epochs=1, result_focus=None, keep_best_model=False, reset=False, **kwargs)

Train the model.

abstract init_model(name, **kwargs)

Setup the model. Abstract method.

  • bugfinder.models.linear_classifier
    • LinearClassifierTraining
      • LinearClassifierTraining.init_model()
  • bugfinder.models.lstm_classifier
    • LSTMClassifierTraining
      • LSTMClassifierTraining.build_model()
      • LSTMClassifierTraining.init_model()
  • bugfinder.models.interproc_lstm
    • InterprocLSTMTraining
      • InterprocLSTMTraining.execute()
      • InterprocLSTMTraining.init_model()
      • InterprocLSTMTraining.process_features()
  • bugfinder.models.blstm_classifier
    • BLSTMClassifierModel
      • BLSTMClassifierModel.evaluate()
      • BLSTMClassifierModel.execute()
      • BLSTMClassifierModel.init_model()
    • BLSTMClassifierTraining
      • BLSTMClassifierTraining.init_model()
  • bugfinder.models.sequential
    • SequenceGenerator
    • SequentialModel
      • SequentialModel.execute()
      • SequentialModel.init_model()
  • bugfinder.models.dnn_classifier
    • DNNClassifierTraining
      • DNNClassifierTraining.init_model()
Previous Next

Built with Sphinx using a theme provided by Read the Docs.