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
- Call get_sentences_from_text(file_path) The file path is the route to the text file
- Call sentence_processor(file_path, sentence) This is the same file_path, the sentence parameter is step 1.
- 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| NLP-DecisionTreeClassifier-0.0.2.tar.gz | 1.4 kB | Without provenance | Details for NLP-DecisionTreeClassifier-0.0.2.tar.gz |
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
|
Security for NLP-DecisionTreeClassifier 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.