Skip to content

Complete and Verify Python Requirements #173

Description

@Sanjana-Siddani

##Description
The current inference/requirements.txt does not include every package used by the ML pipeline. For example, model training and testing require packages such as scikit-learn and joblib.

Review the Python code, update the requirements file, and verify that the pipeline can be installed without additional undocumented commands.

Tasks

  • Review imports in all Python files under inference/.
  • Identify all required third-party packages.
  • Add missing packages to inference/requirements.txt.
  • Add appropriate package-version ranges.
  • Create a new virtual environment.
  • Add the .venv to the gitignore
  • Install using only:
  • python3 -m pip install -r inference/requirements.txt
  • Run label validation, dataset preparation, training, and testing.
  • Document the supported Python version.

Acceptance Criteria

  • All required Python packages are listed.
  • A clean installation completes successfully.
  • No separate manual package installation is needed.
  • validate_labels.py runs successfully.
  • prepare_data.py runs successfully.
  • train_model.py runs successfully.
  • test_model.py runs successfully.
  • The supported Python version is documented.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationgood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions