Metadata-Version: 2.1
Name: openml-tensorflow
Version: 0.0.2
Summary: Tensorflow extension for Openml python API
Home-page: http://openml.org/
Author: Prabhant Singh
Author-email: prabhantsingh@gmail.com
Maintainer: Prabhant Singh
Maintainer-email: prabhantsingh@gmail.com
License: BSD 3-clause
Project-URL: Documentation, https://openml.github.io/openml-tensorflow/
Project-URL: Source Code, https://github.com/openml/openml-tensorflow
Description: # Tensorflow extension for OpenML python
        
        Tensorflow extension for [openml-python API](https://github.com/openml/openml-python).
        
        #### Installation Instructions:
        
        `pip install openml-tensorflow`
        
        PyPi link https://pypi.org/project/openml-keras/
        
        #### Usage
        Import openML libraries
        ```python
        import openml
        import openml_tensorflow
        ```
        Create  and compile a keras model
        ```python
        model = tensorflow.keras.models.Sequential([
            tensorflow.keras.layers.BatchNormalization(),
            tensorflow.keras.layers.Dense(units=1024, activation=tensorflow.keras.activations.relu),
            tensorflow.keras.layers.Dropout(rate=0.4),
            tensorflow.keras.layers.Dense(units=2, activation=tensorflow.keras.activations.softmax),
        ])
        
        # We will compile using the Adam optimizer while targeting accuracy.
        model.compile(optimizer='adam',
                      loss='sparse_categorical_crossentropy',
                      metrics=['accuracy'])
        ```
        Download the task from openML and run the model on task.
        ```python
        task = openml.tasks.get_task(3573)
        run = openml.runs.run_model_on_task(model, task, avoid_duplicate_runs=False)
        run.publish()
        print('URL for run: %s/run/%d' % (openml.config.server, run.run_id))
        ```
        
        This library is currently under development, please report any bugs or feature reuest in issues section.
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.5
Description-Content-Type: text/markdown
