Model Evaluation

Model evaluation module for assessing SpaCy model performance.

This module provides functionality to evaluate trained SpaCy models against test datasets and compute performance metrics.

class spacylize.evaluator.ModelEvaluater(model_path, eval_data)[source]

Bases: object

Evaluator for trained SpaCy models.

Evaluates a trained SpaCy model against a test dataset to measure performance metrics like precision, recall, and F1 score.

Parameters:
  • model_path (Path)

  • eval_data (Path)

model_path

Path to the trained SpaCy model directory.

eval_data

Path to the evaluation dataset (.spacy file).

Note

This class is not yet fully implemented.

__init__(model_path, eval_data)[source]

Initialize the ModelEvaluater.

Parameters:
  • model_path (Path) – Path to the trained SpaCy model directory.

  • eval_data (Path) – Path to the evaluation data file (.spacy).

run()[source]

Run the evaluation process.

Note

This method is not yet implemented.