|
8 | 8 | import os |
9 | 9 |
|
10 | 10 | sys.path.append("..") |
11 | | -text_directory = os.path.join("..", "pvOps", "text") |
| 11 | +text_directory = os.path.join("..", "pvops", "text") |
12 | 12 | sys.path.append(text_directory) |
13 | 13 |
|
14 | 14 | # Utilities |
15 | | -from pvOps.text import create_stopwords, summarize_text_data |
| 15 | +from pvops.text import create_stopwords, summarize_text_data |
16 | 16 |
|
17 | 17 | # Visualizations |
18 | | -from pvOps.text import ( |
| 18 | +from pvops.text import ( |
19 | 19 | visualize_word_frequency_plot, |
20 | 20 | visualize_attribute_connectivity, |
21 | 21 | visualize_attribute_timeseries, |
|
24 | 24 | ) |
25 | 25 |
|
26 | 26 | # Preprocessing |
27 | | -from pvOps.text import preprocessor, DataDensifier, Doc2VecModel |
| 27 | +from pvops.text import preprocessor, DataDensifier, Doc2VecModel |
28 | 28 |
|
29 | 29 | # Classification |
30 | | -from pvOps.text import classification_deployer |
| 30 | +from pvops.text import classification_deployer |
31 | 31 |
|
32 | 32 | # Library example definitions |
33 | | -from pvOps.text import supervised_classifier_defs, unsupervised_classifier_defs |
| 33 | +from pvops.text import supervised_classifier_defs, unsupervised_classifier_defs |
34 | 34 |
|
35 | 35 | # Embedding |
36 | 36 | from sklearn.feature_extraction.text import TfidfVectorizer |
@@ -271,7 +271,7 @@ def classify_supervised( |
271 | 271 | Thoroughness of supervised classification investigation with following options: |
272 | 272 | 'normal': a smaller subset of settings used in grid search |
273 | 273 | 'detailed': a comprehensive set of settings used in grid search |
274 | | - For specifics, view the `supervised_classifier_defs.py` file located in `/pvOps/text/`. |
| 274 | + For specifics, view the `supervised_classifier_defs.py` file located in `/pvops/text/`. |
275 | 275 | To specify your own classifier pipeline, use `user_defined_classes` and `user_defined_search_space` parameters. |
276 | 276 |
|
277 | 277 |
|
|
0 commit comments