Metadata-Version: 1.1
Name: conx
Version: 3.1.1
Summary: Deep Learning for Simple Folk. Built on Keras
Home-page: https://github.com/Calysto/conx
Author: Douglas S. Blank
Author-email: doug.blank@gmail.com
License: UNKNOWN
Description: conx
        ====
        
        Deep Learning for Simple Folk
        -----------------------------
        
        Built in Python on Keras.
        
        |CircleCI| |codecov| |Documentation Status| |PyPI version|
        
        Read the documentation at
        `conx.readthedocs.io <http://conx.readthedocs.io/>`__
        
        Implements Deep Learning neural network algorithms using a simple
        interface with easy visualizations and useful analytical. Built on top
        of Keras, which can use either
        `TensorFlow <https://www.tensorflow.org/>`__,
        `Theano <http://www.deeplearning.net/software/theano/>`__, or
        `CNTK <https://www.cntk.ai/pythondocs/>`__.
        
        The network is specified to the constructor by providing sizes. For
        example, Network("XOR", 2, 5, 1) specifies a network named "XOR" with a
        2-node input layer, 5-unit hidden layer, and a 1-unit output layer.
        
        Example
        -------
        
        Computing XOR via a target function:
        
        .. code:: python
        
            from conx import Network, SGD
        
            dataset = [[[0, 0], [0]],
                      [[0, 1], [1]],
                      [[1, 0], [1]],
                      [[1, 1], [0]]]
        
            net = Network("XOR", 2, 5, 1, activation="sigmoid")
            net.set_dataset(dataset)
            net.compile(loss='mean_squared_error',
                        optimizer=SGD(lr=0.3, momentum=0.9))
            net.train(2000, report_rate=10, accuracy=1)
            net.test()
        
        Install
        -------
        
        .. code:: shell
        
            pip install conx -U
        
        You will need to decide whether to use Theano, TensorFlow, or CNTK. Pick
        one. See
        `docs.microsoft.com <https://docs.microsoft.com/en-us/cognitive-toolkit/Setup-CNTK-on-your-machine>`__
        for installing CNTK on Windows or Linux. All platforms can also install
        either of the others using pip:
        
        .. code:: shell
        
            pip install theano
        
        or
        
        .. code:: shell
        
            pip install tensorflow
        
        Note: you may need to use pip3, or admin privileges (eg, sudo), or a
        user environment.
        
        To use a Keras backend other than TensorFlow, edit (or create)
        ``~/.keras/kerson.json``, like:
        
        .. code:: json
        
            {
                "backend": "theano",
                "image_data_format": "channels_last",
                "epsilon": 1e-07,
                "floatx": "float32"
            }
        
        Examples
        --------
        
        See the `notebooks
        folder <https://github.com/Calysto/conx/tree/master/notebooks>`__ and
        the `documentation <http://conx.readthedocs.io/en/latest/>`__ for
        additional examples.
        
        .. |CircleCI| image:: https://circleci.com/gh/Calysto/conx/tree/master.svg?style=svg
           :target: https://circleci.com/gh/Calysto/conx/tree/master
        .. |codecov| image:: https://codecov.io/gh/Calysto/conx/branch/master/graph/badge.svg
           :target: https://codecov.io/gh/Calysto/conx
        .. |Documentation Status| image:: https://readthedocs.org/projects/conx/badge/?version=latest
           :target: http://conx.readthedocs.io/en/latest/?badge=latest
        .. |PyPI version| image:: https://badge.fury.io/py/conx.svg
           :target: https://badge.fury.io/py/conx
        
Platform: UNKNOWN
Classifier: Framework :: IPython
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
