Skip to main content

No project description provided

Project description

EGE Classification

Этот проект предназначен для классификации задач из профильного ЕГЭ по математике. Модель предсказывает номер задачи с точностью 98.6%.

Установка

Вы можете самостоятельно собрать библиотеку

poetry build
pip install ПУТЬ_К_АРХИВУ

Или воспользоваться pypi.org

pip install ege-classification

Использование

Обучение модели

Для обучения модели используйте следующий код:

from ege_classification.model import TaskClassifier

classifier = TaskClassifier()
classifier.train('path/to/dataset.csv')
classifier.save()

Тестирование модели

Для тестирования модели используйте следующий код:

classifier.test('path/to/dataset.csv')

Предсказание

Для предсказания номера задачи используйте следующий код:

predicted_class = classifier.predict("Текст задачи")
print(f"Предсказанный номер задачи: {predicted_class}")

Загрузка и сохранение модели

Для сохранения модели:

classifier.save('path/to/save/model')

Для загрузки модели:

classifier.load('path/to/saved/model')

Лицензия

Этот проект лицензирован под лицензией MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ege_classification-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ege_classification-0.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ege_classification-0.0.4.tar.gz.

File metadata

  • Download URL: ege_classification-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for ege_classification-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1515d382ca34a079564a7160018768f527933ccb637b5e70ef56c30e3abe9f7b
MD5 2190f9f2a651e78ccb4d5dcaa7fc53ad
BLAKE2b-256 5cef6e7bccccd40c514c9c8784ae4c68eb9514fe24f125688f95d65696fd4524

See more details on using hashes here.

File details

Details for the file ege_classification-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: ege_classification-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for ege_classification-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9353412c0c4d651e98e3c4f6f9072a63edc3fcb33c6fd1f88f8961f370927140
MD5 49c49579788adea07a25996cf8a6e7c4
BLAKE2b-256 aabf142e03b675fc338373274340b4c47866b51ec19b47bb472f2bc9e5a7c204

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page