semvec/pypi-packages huggingface dataset:
PyRecs 0.0.3
Recommender systems for Python
License: MIT

======
PyRecs
======

.. image:: https://api.travis-ci.org/ssaamm/PyRecs.svg?branch=master&service=github
    :target: https://travis-ci.org/ssaamm/PyRecs?branch=master
.. image:: https://coveralls.io/repos/github/ssaamm/PyRecs/badge.svg?branch=master
    :target: https://coveralls.io/github/ssaamm/PyRecs?branch=master


A **Py**\ thon **Rec**\ ommender **S**\ ystems library

Installation
------------

I have only tested on Python 3.5.1

.. code:: bash

    pip3 install pyrecs

Usage
-----

Loading data from a Pandas DataFrame:

.. code:: python

    >>> import io
    >>> import pandas as pd
    >>> from pyrecs import collab
    >>>
    >>> df = pd.read_csv(io.StringIO("""
    ...        ,Torchy's,Tacodeli,In-N-Out,P. Terry's,Casa de Luz,Koriente
    ... Sam,           5,        ,       4,         4,          3,       1
    ... Matthew,        ,       2,       1,          ,          5,       5
    ... Sarah,         5,       4,       2,         2,          5,       5
    ... Hannah,         ,        ,       1,         1,          5,
    ... """.replace(' ', '')), index_col=0)
    >>>
    >>> cf = collab.CollaborativeFiltering()
    >>> cf.fit(df)
    >>> print(cf.predict([('Sam', 'Tacodeli'), ('Hannah', 'Koriente')]))
    [ 3.41666667  5.76851363]



Predicting ratings based on training data:

.. code:: python

    >>> import numpy as np
    >>> import pyrecs
    >>> from sklearn.cross_validation import train_test_split
    >>>
    >>> data = [[10,     3.4, np.nan, None],
    ...         [10,     0,   10,     5],
    ...         [np.nan, 1.4, 10,     3],
    ...         [np.nan, 8,   2,      5]]
    >>>
    >>> X, y = pyrecs.collab.matrix_to_dataset(data)
    >>> X_train, X_test, y_train, y_test = train_test_split(X, y)
    >>>
    >>> cf = pyrecs.collab.CollaborativeFiltering()
    >>> cf.fit(X_train, y_train)
    >>>
    >>> cf.predict(X_test)
    array([ 0.25,  3.4 ,  9.75])
    >>> y_test
    [1.4, 10, 8]


Tests
-----

.. code:: bash

    py.test tests
scan-manager 0.0.1
GUI app for collating images produced by a document scanner
License: MIT
Keywords: scanner

ScanManager
===========

This is designed to handle the process of turning a bunch of individual JPEGs as produced
by a simple document scanner into multi-page PDFs.

Images
------

This project uses the following icons (Creative Commons licensed):

* Stapler by Creative Stall from the Noun Project
* Scanner by joe pictos from the Noun Project
* Trash by Shirley Wu from the Noun Project