feature-mining-0.1.1
توضیحات
Mine implicit features using a generative feature language model.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | feature-mining-0.1.1 |
| نام | feature-mining |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | H. Wilder, N. Freundlich, Santu Karmaker |
| ایمیل نویسنده | hwilder3@illinois.edu, norbert4@illinois.edu, karmake2@illinois.edu |
| آدرس صفحه اصلی | https://github.com/pypa/sampleproject |
| آدرس اینترنتی | https://pypi.org/project/feature-mining/ |
| مجوز | - |
# GFLM: mine implicit features using a generative feature language model
## Description
This package implements a Generative Feature Language Models for Mining Implicit Features.
#### Given the following input:
* a text dataset
* a set of predefined features
#### Compute the following:
* mapping of explicit and implicit features on the data
* using both gflm_word and gflm_section algorithms
## Install
```
pip install feature_mining
```
## Sample Usage
Usage:
from feature_mining import FeatureMining
fm = FeatureMining()
fm.load_ipod(full_set=False)
fm.fit()
fm.predict()
Results:
- prediction using 'section': fm.gflm.gflm_section
- prediction using 'word': fm.gflm.gflm_word
Display result:
fm.section_features()
print(fm.gflm_section_result.sort_values(by=['gflm_section'], ascending=False)[['feature', 'section_text']].head(20))
## Package created based on the following paper
S. Karmaker Santu, P. Sondhi and C. Zhai, "Generative Feature Language Models for Mining Implicit Features from Customer Reviews", Proceedings of the 25th ACM International on Conference on Information and Knowledge Management - CIKM '16, 2016.
## Pydocs (Code Documentation)
Accessible via this link: http://htmlpreview.github.io/?https://github.com/nfreundlich/CS410_CourseProject/blob/dev/docs/feature_mining.html
(Apologies for the color scheme - it was the default)
## Tutorial
See Jupyter notebook tutorial https://github.com/nfreundlich/CS410_CourseProject/blob/dev/tutorial.ipynb
## Video presentation and tutorial
Link to YouTube: https://www.youtube.com/watch?v=mjJHkyrkxHM
## Package on PyPi
https://pypi.org/project/feature-mining/
## Slides
https://github.com/nfreundlich/CS410_CourseProject/blob/dev/docs/CS_410_GFLM_Slides.pdf
## Known Issues
Explicit feature mentions not removed from GFLM word/sentence:
https://github.com/nfreundlich/CS410_CourseProject/issues/28
نیازمندی
| مقدار | نام |
|---|---|
| ==2.0.16 | spacy |
| - | nltk |
| ==2018.10.15 | certifi |
| ==3.0.4 | chardet |
| ==2.0.2 | cymem |
| ==0.9.0.1 | cytoolz |
| ==0.2.8.2 | dill |
| ==2.7 | idna |
| ==0.2.13 | metapy |
| ==0.5.6 | msgpack |
| ==0.4.3.2 | msgpack-numpy |
| ==1.0.1 | murmurhash |
| ==1.15.4 | numpy |
| ==0.23.4 | pandas |
| ==1.9.0 | parse |
| ==0.4.2 | parse-type |
| ==0.9.6 | plac |
| ==2.0.1 | preshed |
| ==2.1 | pyreadline |
| ==2.7.5 | python-dateutil |
| ==2018.7 | pytz |
| ==2018.1.10 | regex |
| ==2.20.1 | requests |
| ==1.1.0 | scipy |
| ==1.11.0 | six |
| ==6.12.0 | thinc |
| ==0.9.0 | toolz |
| ==4.28.1 | tqdm |
| ==1.35 | ujson |
| ==1.24.1 | urllib3 |
| ==1.10.11 | wrapt |
نحوه نصب
نصب پکیج whl feature-mining-0.1.1:
pip install feature-mining-0.1.1.whl
نصب پکیج tar.gz feature-mining-0.1.1:
pip install feature-mining-0.1.1.tar.gz