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.1.tar.gz (3.5 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ege_classification-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11

File hashes

Hashes for ege_classification-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d89b5f35aa3cc17fc5337603e8a9d4f6f67d1adf2b1d4aecf514de78b3866906
MD5 bd8dec21a91e367a899a1e8911d511d8
BLAKE2b-256 24716f2843d6b4ef1a28bd04f9a8a788e39dec65826eaf3bf58982a6348e1728

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ege_classification-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ee2edd1d67e4ca02a6c5d0ef64ef406deb8c284be2a3340a9d4ec184b900f3
MD5 a1a0336978624335c56a4ce4bc3ea878
BLAKE2b-256 cc3d2290081ef39055f62d0e9f7d8c20598f1bd7d4d691cf6d9fd2162e176c31

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