Skip to main content

An implementation of C4.5 Algorithm

Project description

C4.5 Algorithm implementation.

This work is a part of my Pattern Recognition Lab on CSE, KHULNA UNIVERSITY.

Abdullah Al Noman, CSE-KU

Hello there,

To use this module, open command prompt and type - pip install C4point5

after installing the module write code as below,

from C4point5 import C45

model = C45.C4point5([train dataset path])

model.readDataset()
model.preprocessData()
model.generateTree()
model.printTree()
model.predict()
model.evaluate([test dataset path])
model.viewTruePred([test dataset path])

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

C4point5-1.0.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

C4point5-1.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file C4point5-1.0.2.tar.gz.

File metadata

  • Download URL: C4point5-1.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for C4point5-1.0.2.tar.gz
Algorithm Hash digest
SHA256 af441b5bcd7621250ee2598b30bcbac2cd580a9eadf1c3c0458c95b9b9608818
MD5 046ee449f75590fa16f1805c3eb2ccd1
BLAKE2b-256 4f3d9e54da8dd46505d68a26ba55bec636c4f213bbeb9c213e25993173fab1a4

See more details on using hashes here.

File details

Details for the file C4point5-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: C4point5-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for C4point5-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59a2e29178e6760a3fb29ccceced06c5f3287592e01a8e8eb03b1aa5c38c6492
MD5 0d69c232c22449403664e03a1071b2b0
BLAKE2b-256 fe7288c4e98f689de7562e3d2f71ab2b2f1e6dad0bba187ac6cc6ffdd200dc4b

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