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.2.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.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ege_classification-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1ff4fccfc4dffead3862dc8999d9ff3f20988d4558773c4732850bb537d4ce93
MD5 2a22f541ef358650ccb973d43f916ffb
BLAKE2b-256 e02e1d326a49a425e3a9440b1922bb67606e95dc632593a264ed2ee458e51a9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ege_classification-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3835fdfd9d2437b064eab11d0ad827b3d1d3027b3030fee1b1631af058970c0b
MD5 139cde31eb66096e0d70cc3b61c5a96f
BLAKE2b-256 937dbacd566698a2002f0c1452f4b3666d05d3891f13fec74db25bae9f80e009

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