-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdraft_text.txt
39 lines (23 loc) · 1.7 KB
/
draft_text.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Identify the frequency of words and their relative importance using bag of words, TF-IDF scores, bi-grams and stem words.
## Selecting data
Save the data in the same folder as XLKitLearn, and enter the data file name including the file type to select the data.
> `.csv` and `.txt` are accepted file types

---
## Feature Extraction
Exclude too common and too frequent words by setting a min and max frequency (as a decimal). Set the `Max features` to include in the output with the slider.
!!! note "Feature Limit"
The 1,000 feature limit is due to the max number of excel columns and does not impact the analysis.
- Remove English words without much meaning with `Remove English stop words`
- Calculate `TF-IDF` scores to determine the relative frequency and importance of words
- Account for word order by including all word pairs with `Bi-grams`
- Stem words to their common root
> The [Porter Stemming Algorithms](https://en.wikipedia.org/wiki/Stemming) is used for stemming and can take a long time to run.
---
## Output
Select the proportion of data to reserve for evaluation and indicate if the data should be exported in a sparse format or specify the number of topics and max iterations to run a unsupervised a Latent Dirichlet Allocation.
---
## Making predictions
The outputs of the text analytics can be used as inputs for Predictive analytics. Run predictive analytics as normally using the text analytics output as the predictive analytics input.
!!! warning "Using Predictive Analytics"
It is critical to use the same proportion of evaluation data and randomization seed between the text analytics and the predictive analytics section so the test and evaluation data are aligned.