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 | |
|---|---|---|---|
| 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
|