companyClassifier-3.0.2
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | companyClassifier-3.0.2 |
| نام | companyClassifier |
| نسخه کتابخانه | 3.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/companyClassifier/ |
| مجوز | - |
# companyClassifier
This project converts company names to company labels. Have a look at the following medium article:
https://medium.com/@lemaysolutions/deep-learning-magic-small-business-type-8ac484d8c3bf
## INSTALL INSTRUCTIONS
This project can be pip installed using the command:
*pip install companyClassifier*
To install from inside a jupyter notebook cell:
```python
import sys
!{sys.executable} -m pip install companyClassifier
```
Alternatively the project can be cloned from the Github repository following the instructions provided below:
* git clone https://github.com/lemay-ai/companyClassifier.git
* cd companyClassifier/
* pip install -r requirements.text
* python setup.py install
* cd test
* python test_text.py
* python test_pandas.py
## USE INSTRUCTIONS
Make sure the following dependencies are imported:
```python
from keras.models import load_model
from os import path
import sys
```
After installation import the project as a module with the following code:
```python
import companyClassifier as s
```
In order to test the model predictions call the SmallCompanyType class with:
```python
b=s.CompanyClassifier()
```
You can use the test case below or modify the text strings.
```python
texts=["Lemay.ai Hotel","Farah's variety","felding and associates","Lemay.ai Consulting"]
ctypes_subtypes = b.classifyCompany(texts)
for company in texts:
print(company,"is a",ctypes_subtypes["type"][company],ctypes_subtypes["subtype"][company])
```
http://lemay.ai
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
نیازمندی
| مقدار | نام |
|---|---|
| - | wget |
| >=2.6.0 | keras |
| - | tqdm |
| - | joblib |
| >=4.11.3 | transformers |
| >=1.13.3 | numpy |
| >=2.6.0 | tensorflow |
نحوه نصب
نصب پکیج whl companyClassifier-3.0.2:
pip install companyClassifier-3.0.2.whl
نصب پکیج tar.gz companyClassifier-3.0.2:
pip install companyClassifier-3.0.2.tar.gz