semvec/pypi-packages huggingface dataset:
numeraicb 1.0.1
Keras Callback to track Numerai consistency
License: MIT


==========================
Keras Consistency Callback
==========================

A Keras callback that calculates your model's consistency during training at
each epoch. The callback prints the consistency and also adds the consistency at
the end of each epoch to the training history under the ``consistency`` key.

Usage
-----

Here is a usage example::

    import pandas as pd
    from numeraicb import Consistency
    from keras.models import Sequential
    from keras.layers.core import Dense

    train = pd.read_csv('numerai_training_data.csv')
    tourn = pd.read_csv('numerai_tournament_data.csv')

    validation = tourn[tourn.data_type == 'validation']

    features = ['feature{}'.format(i) for i in range(1, 51)]

    X = train[features].values
    Y = train.target.values

    X_validation = validation[features].values
    Y_validation = validation.target.values

    model = Sequential()
    model.add(Dense(30, kernel_initializer='uniform', input_dim=X.shape[1], activation='relu'))
    model.add(Dense(1, activation='sigmoid'))
    model.compile(optimizer='adamax', loss='binary_crossentropy')

    cb = Consistency(tourn)

    # Now your models consistency will be printed at each epoch
    history = model.fit(X, Y, callbacks=[cb], validation_data=(X_validation, Y_validation))

    # Consistency is stored in the history as well
    for epoch, consistency in enumerate(history.history['consistency']):
        print('consistency at epoch {}: {:.2%}'.format(epoch, consistency))
flask-debugtoolbar-warnings 0.1.0
Adds warnings support to Flask-Debugtoolbar
License: MIT
Requires Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Keywords: flask,debug,warnings

flask-debugtoolbar-warnings
===========================

Adds warning support for Flask-Debugtoolbar

Installation
~~~~~~~~~~~~

``flask-debugtoolbar-warnings`` is available on `pypi <https://pypi.org/project/flask-debugtoolbar-warnings/>`_
and installable with::

    pip install flask-debugtoolbar-warnings

This package supports Python 2.7, 3.4, 3.5, 3.6 (and presumably Python 3.7
and the pypy versions of these Python versions, though it is untested).

.. note::

   If you are installing this package outside of a virtual environment
   consider installing it with ``pip install --user`` rather than using
   sudo or adminstrator privileges to avoid installing it into your
   system Python.


Usage
~~~~~

After installing this package, register it into the ``flask-debugtoolbar`` loader
by setting the ``DEBUG_TB_PANELS`` configuration variable before calling
``init_app`` on the DebugToolbar object::

    app.config['DEBUG_TB_PANELS'] = [
        'flask_debugtoolbar_warnings.WarningsPanel'
    ]

.. warning::

    By setting this variable it implicity disables the other panels that are
    enabled by default, if you wish to keep those enabled set this variable
    with them set as well::

        app.config['DEBUG_TB_PANELS'] = [
            'flask_debugtoolbar.panels.versions.VersionDebugPanel',
            'flask_debugtoolbar.panels.timer.TimerDebugPanel',
            'flask_debugtoolbar.panels.headers.HeaderDebugPanel',
            'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel',
            'flask_debugtoolbar.panels.config_vars.ConfigVarsDebugPanel',
            'flask_debugtoolbar.panels.template.TemplateDebugPanel',
            'flask_debugtoolbar.panels.sqlalchemy.SQLAlchemyDebugPanel',
            'flask_debugtoolbar.panels.logger.LoggingPanel',
            'flask_debugtoolbar.panels.route_list.RouteListDebugPanel',
            'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel',
            'flask_debugtoolbar_warnings.WarningsPanel'
        ]

After the first request through your application, this panel will begin
intercepting all warnings that are not ignored or already filtered by
being set to ``once`` or ``module``, or have been set to ``error`` (these
throw exceptions rather than pass fully through the warning machinery).


You may view these warnings in the DebugToolbar side panel under the Warnings
section. The warnings panel will display the category (e.g. what kind of warning),
filename, line number, message and source (if provided).


v0.1.0 (2018-06-xx)
~~~~~~~~~~~~~~~~~~~

* Initial release.
* Will it into existence.
dicthash 0.0.2
Generate portable md5 hashes from (arbitrarily nested) dictionaries.
License: MIT
Requires Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4
Keywords: hashing hash

dicthash
========

Generate portable md5 hashes from (arbitrarily nested) dictionaries. These dictionaries can contain arbitrary Python and NumPy data types. The goal of the module is to provide a hash function that can be safely used across different platforms. Its main use is to generate unique identifiers for parameter dictionaries used in parameter scans of neural network simulations.

It exposes a single function to the user `dicthash.generate_hash_from_dict`.


It exposes a single function to the user: `generate_hash_from_dict`.
The user can set two global parameters:

- `FLOAT_FACTOR`

  To ensure consistency between different systems, the library
  multiplies floats with the `FLOAT_FACTOR` and then converts them to
  integers.

- `FLOOR_SMALL_FLOATS`

  If the float is smaller than the inverse of the `FLOAT_FACTOR`, it
  cannot be safely converted. If `FLOOR_SMALL_FLOATS` is set to True,
  the library will round the float to zero. If set to False, it will
  throw an error in this case.


![Python2.7](https://img.shields.io/badge/python-2.7-blue.svg)
![Python3.6](https://img.shields.io/badge/python-3.6-blue.svg)
[![PyPI version fury.io](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=0.0.2&x2=0)](https://pypi.org/project/dicthash/)
[![GPL license](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)

Code status
===========

[![Build Status](https://travis-ci.org/INM-6/python-dicthash.svg?branch=master)](https://travis-ci.org/INM-6/python-dicthash)
[![Coverage Status](https://coveralls.io/repos/github/INM-6/python-dicthash/badge.svg?branch=master)](https://coveralls.io/github/INM-6/python-dicthash?branch=master)