معرفی شرکت ها


entity-embeddings-categorical-0.6.7


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل entity-embeddings-categorical-0.6.7
نام entity-embeddings-categorical
نسخه کتابخانه 0.6.7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Rodrigo Bresan
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/bresan/entity_embeddings_categorical
آدرس اینترنتی https://pypi.org/project/entity-embeddings-categorical/
مجوز BSD-3-Clause
[![PyPI version](https://badge.fury.io/py/entity-embeddings-categorical.svg)](https://pypi.org/project/entity-embeddings-categorical) [![Build Status](https://travis-ci.org/bresan/entity_embeddings_categorical.svg?branch=master)](https://travis-ci.org/bresan/entity_embeddings_categorical) [![Coverage Status](https://coveralls.io/repos/github/bresan/entity_embeddings_categorical/badge.svg?branch=master)](https://coveralls.io/github/bresan/entity_embeddings_categorical?branch=master) [![GitHub](https://img.shields.io/github/license/bresan/entity_embeddings_categorical.svg)](https://github.com/bresan/entity_embeddings_categorical/blob/master/LICENSE.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/e02bc243822c4ce884c4adf87ff6e9f7)](https://www.codacy.com/app/bresan/entity_embeddings_categorical?utm_source=github.com&utm_medium=referral&utm_content=bresan/entity_embeddings_categorical&utm_campaign=Badge_Grade) # Overview This project is aimed to serve as an utility tool for the preprocessing, training and extraction of entity embeddings through Neural Networks using the Keras framework. It's still under construction, so please use it carefully. # Installation The installation is pretty simple if you have a virtualenv already installed on your machine. If you don't please rely to [VirtualEnv official documentation](https://virtualenv.pypa.io/en/latest/). ```bash pip install entity-embeddings-categorical ``` # Documentation Besides the docstrings, major details about the documentation can be found [here](https://entity-embeddings-categorical.readthedocs.io/en/latest/). # Testing This project is inteded to suit most of the existent needs, so for this reason, testability is a major concern. Most of the code is heavily tested, along with [Travis](https://travis-ci.org/bresan/entity_embeddings_categorical) as Continuous Integration tool to run all the unit tests once there is a new commit. # Usage The usage of this utility library is provided in two modes: default and custom. In the default configuration, you can perform the following operations: Regression, Binary Classification and Multiclass Classification. If your data type differs from any of these, you can feel free to use the custom mode, where you can define most of the configurations related to the target processing and output from the neural network. ## Default mode The usage of the default mode is pretty straightforward, you just need to provide a few parameters to the Config object: So for creating a simple embedding network that reads from file **sales_last_semester.csv**, where the target name is **total_sales**, with the desired output being a **binary classification** and with a training ratio of **0.9**, our Python script would look like this: ```python config = Config.make_default_config(csv_path='sales_last_semester.csv', target_name='total_sales', target_type=TargetType.BINARY_CLASSIFICATION, train_ratio=0.9) embedder = Embedder(config) embedder.perform_embedding() ``` Pretty simple, huh? A working example of default mode can be found [here as a Python script](https://github.com/bresan/entity_embeddings_categorical/blob/master/example/default/default_config_example.py). ## Custom mode If you intend to customize the output of the Neural Network or even the way that the target variables are processed, you need to specify these when creating the configuration object. This can be done by creating a class that extend from [TargetProcessor](https://github.com/bresan/entity_embeddings_categorical/blob/master/entity_embeddings/processor/processor.py) and [ModelAssembler](https://github.com/bresan/entity_embeddings_categorical/blob/master/entity_embeddings/network/assembler.py). A working example of custom configuration mode can be found [here](https://github.com/bresan/entity_embeddings_categorical/blob/master/example/custom/custom_config_example.py). ## Visualization Once you are done with the training of your model, you can use the module [visualization_utils](https://github.com/bresan/entity_embeddings_categorical/blob/master/entity_embeddings/util/visualization_utils.py) in order to create some visualizations from the generated weights as well as the accuraccy of your model. Below are some examples created for the [Rossmann dataset](https://www.kaggle.com/c/rossmann-store-sales): ![Weights for store id embedding](https://raw.githubusercontent.com/bresan/entity_embeddings_categorical/master/example/default/artifacts/visualizations/Store_embedding.png) # Troubleshooting In case of any issue with the project, or for further questions, do not hesitate to open an issue here on GitHub. # Contributions Contributions are really welcome, so feel free to open a pull request :-) # TODO - Allow to use a Pandas DataFrame instead of the csv file path;


نیازمندی

مقدار نام
==0.7.0 absl-py
==0.7.12 alabaster
==0.7.1 astor
==1.3.0 atomicwrites
==19.1.0 attrs
==2.6.0 Babel
==1.5.0 bleach
==2018.11.29 certifi
==3.0.4 chardet
==0.10.0 cycler
==0.14 docutils
==0.2.2 gast
==1.19.0 grpcio
==2.9.0 h5py
==0.9999999 html5lib
==2.8 idna
==1.1.0 imagesize
==2.10 Jinja2
==2.2.4 Keras
==1.0.7 Keras-Applications
==1.0.9 Keras-Preprocessing
==1.0.1 kiwisolver
==3.0.1 Markdown
==1.1.1 MarkupSafe
==3.0.3 matplotlib
==2.0.0 mock
==6.0.0 more-itertools
==1.16.2 numpy
==19.0 packaging
==0.24.1 pandas
==5.1.3 pbr
==1.0 pip-review
==0.9.0 pluggy
==3.7.0 protobuf
==1.8.0 py
==2.3.1 Pygments
==2.3.1 pyparsing
==4.3.0 pytest
==2.8.0 python-dateutil
==2018.9 pytz
==3.13 PyYAML
==2.21.0 requests
==0.20.3 scikit-learn
==1.2.1 scipy
==1.12.0 six
==0.0 sklearn
==1.2.1 snowballstemmer
==1.8.4 Sphinx
==0.4.3 sphinx-rtd-theme
==1.1.0 sphinxcontrib-websupport
==1.13.1 tensorboard
==1.5.0 tensorflow
==1.13.0 tensorflow-estimator
==1.5.1 tensorflow-tensorboard
==1.1.0 termcolor
==1.24.1 urllib3
==0.5.1 webencodings
==0.14.1 Werkzeug


نحوه نصب


نصب پکیج whl entity-embeddings-categorical-0.6.7:

    pip install entity-embeddings-categorical-0.6.7.whl


نصب پکیج tar.gz entity-embeddings-categorical-0.6.7:

    pip install entity-embeddings-categorical-0.6.7.tar.gz