Skip to main content

NLP-DecisionTreeClassifier

Sci-kit Learn Decision Tree Classifier for identifying word entities in text

Installation Instructions!

pip install NLP-DecisionTreeClassifier

To train a model using this Decision Tree Classifier, you need to provide a text file, that it will be trained on. Example large_text_file.txt

  1. Call get_sentences_from_text(file_path) The file path is the route to the text file
  2. Call sentence_processor(file_path, sentence) This is the same file_path, the sentence parameter is step 1.
  3. Call train_model(model_name, file_path_model) The model name will be the model file's name, saved in the file path.

After training you can get accuracy scores for the model, or predict on unseen data

Metadata

Release files for NLP-DecisionTreeClassifier 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NLP-DecisionTreeClassifier 0.0.2
File Size Uploaded
NLP-DecisionTreeClassifier-0.0.2.tar.gz 1.4 kB Details

Release files / NLP-DecisionTreeClassifier-0.0.2.tar.gz

Download URL NLP-DecisionTreeClassifier-0.0.2.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8b70fceb522fda7135980ee85344dc6619e4bdf40a378ae4a548d4db1df9ecfd
BLAKE2b-256 checksum
How to use checksums
010584f92562864a22b7fa8178c1b7b48926bf529df8951ed0dadb8d80cd8c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page