Metadata-Version: 2.1
Name: weaklysupervised
Version: 0.0.3
Summary: Python implementation of weakly supervised learning algorithm framework
Home-page: https://github.com/rosefun/weaklysupervised
Author: Rosefun
Author-email: rosefun@foxmail.com
License: UNKNOWN
Download-URL: https://github.com/rosefun/weaklysupervised/tags
Description: Weakly Supervised Learning
        ==========================
        
        Description
        ===========
        
        This is a Python framework for weakly supervised learning. This package
        can be used for weak supervised learning classification tasks.
        
        Installation
        ============
        
        You can install it by ``pip`` method.
        
        .. code:: python
        
            pip install weaklysupervised
        
        API
        ===
        
        We have implemented following weakly-supervised learning algorithm.
        
        -  bootstrapping
        
        Examples
        ========
        
        .. code:: python
        
            from examples_utils import get_data, DNN
            from sklearn import metrics
            from weaklysupervised import BootstrappingNeuralNetworkClassifier
        
            if __name__ == "__main__":
                X_train, X_test, y_train, y_test = get_data()
                DNN = DNN()
                clf = DNN.build_model(input_dim=30, output_dim=2)
                model = BootstrappingNeuralNetworkClassifier(clf, batch_size=128, epochs=40, bootstrapping_type="soft", 
                beta=0.95, patience=5, best_model_name="model_check_point_best_model")
                model.fit(X_train, y_train, validation_data=(X_test, y_test), )
                predict = model.predict(X_test)
                acc = metrics.accuracy_score(y_test, predict)
                print("bootstrapping accuracy", acc)
        
        Please see ``examples`` folder for more examples.
        
Keywords: weakly-supervised learning,ssl,deep learning,machine learning,weak supervision
Platform: linux/Windows
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Provides-Extra: keras_backend
