معرفی شرکت ها


dossier.fc-0.3.6.dev2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Feature collections for DossierStack
ویژگی مقدار
سیستم عامل -
نام فایل dossier.fc-0.3.6.dev2
نام dossier.fc
نسخه کتابخانه 0.3.6.dev2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Diffeo, Inc.
ایمیل نویسنده support@diffeo.com
آدرس صفحه اصلی http://github.com/dossier/dossier.fc
آدرس اینترنتی https://pypi.org/project/dossier.fc/
مجوز MIT/X11 license http://opensource.org/licenses/MIT
`dossier.fc` is a Python package that provides an implementation of feature collections. Abstractly, a feature collection is a map from feature name to a feature. While any type of feature can be supported, the core focus of this package is on *multisets* or "bags of words" (BOW). In this package, the default multiset implementation is a `StringCounter`, which maps Unicode strings to counts. This package also includes utilities for serializing and deserializating collections of feature collections to CBOR (Concise Binary Object Representation). ### Installation `dossier.fc` is on PyPI and can be installed with `pip`: ```bash pip install dossier.fc ``` Currently, `dossier.fc` requires Python 2.7. It is not yet Python 3 compatible. ### Documentation API documentation with examples is available as part of the Dossier Stack documentation: [http://dossier-stack.readthedocs.org](http://dossier-stack.readthedocs.org#module-dossier.fc) ### Examples and basic usage By default, feature collections use `StringCounter` for feature representation: ```python from dossier.fc import FeatureCollection fc = FeatureCollection() fc['NAME']['alice'] += 1 fc['NAME']['bob'] = 5 print type(fc['NAME']) # output: StringCounter ``` As the name suggests, a `StringCounter` is a subclass of the `Counter` class found in the Python standard library `collections` module. As such, it supports binary operations like addition, subtraction, equality testing, etc. The `FeatureCollection` class also provides these binary operations which are performed on corresponding features. For example: ```python from dossier.fc import FeatureCollection fc1 = FeatureCollection({'NAME': {'alice': 1, 'bob': 1}}) fc2 = FeatureCollection({'NAME': {'alice': 1}}) fc3 = fc1 + fc2 assert fc3 == FeatureCollection({'NAME': {'alice': 2, 'bob': 1}}) ```


نحوه نصب


نصب پکیج whl dossier.fc-0.3.6.dev2:

    pip install dossier.fc-0.3.6.dev2.whl


نصب پکیج tar.gz dossier.fc-0.3.6.dev2:

    pip install dossier.fc-0.3.6.dev2.tar.gz