Metadata-Version: 1.1
Name: kerasplugins
Version: 0.1.2
Summary: Keras Plugins
Home-page: https://github.com/mainanick/kerasplugins
Author: Nick Maina
Author-email: nick.maina1@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Description: # keras-plugins

        

        ## Callbacks

        

        ### Telegram Callback

        

        Notify levels available:

        1) on_train_begin,

        2) on_train_end,

        3) on_batch_begin,

        4) on_batch_end,

        5) on_epoch_begin,

        6) on_epoch_end

          

        ##### How to use

        ##### Installation

        ```

        pip install kerasplugins

        ```

        

        ```python

        from kerasplugins import callbacks

        

        notify = { 

          'on_batch_end',  # sends BATCH END: Loss 0.50 Accuracy: 0.75

          'on_epoch_end'   # sends EPOCH END: Loss 0.43 Accuracy: 0.81

        }

        # msg is the initial message

        msg = "Predicting Bitcoin Price"

        

        telegram = callbacks.TelegramNotify(<token>, <chat_id>, msg=msg, notify=notify)

        

        model.fit(X_train, Y_train, validation_data=[X_test, Y_test], batch_size=256, epochs=10, callbacks=[telegram])

        ```

        

        ## Coming Soon

        1) Slack Notifier

        2) Ability to stop training remotely

        3) Simple Keras Server

        
Keywords: keras
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
