Skip to main content

No project description provided

Project description

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:

import sys
!{sys.executable} -m pip install companyClassifier

Alternatively the project can be cloned from the Github repository following the instructions provided below:

USE INSTRUCTIONS

Make sure the following dependencies are imported:

from keras.models import load_model  
from os import path
import sys

After installation import the project as a module with the following code:

import companyClassifier as s

In order to test the model predictions call the SmallCompanyType class with:

b=s.CompanyClassifier()

You can use the test case below or modify the text strings.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

companyClassifier-3.0.2.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

companyClassifier-3.0.2-py3-none-any.whl (212.1 kB view details)

Uploaded Python 3

File details

Details for the file companyClassifier-3.0.2.tar.gz.

File metadata

  • Download URL: companyClassifier-3.0.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for companyClassifier-3.0.2.tar.gz
Algorithm Hash digest
SHA256 ba9248a9367cd4fc7a10f10fbcfe5119b69fe92b0771e92d05eb2a61fcae4602
MD5 ff1f4d55e8ed190ebfdf2fd606ed9a98
BLAKE2b-256 f9abb7b499e885b0f09273d39144bd8ebbe27220887479db1ea29a88dbabfb26

See more details on using hashes here.

File details

Details for the file companyClassifier-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: companyClassifier-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 212.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for companyClassifier-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f39b507ce315816c56c263ec50889218940330b2da3d6cfa9f6ac76d4b7f8c23
MD5 1aa6c722bd8aa9fb722ab3e50f2d1e9c
BLAKE2b-256 43b247fc5d2953ea1b858804445a65500f57899509e60002678302a30a88213d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page