suneku/classifier.py
def demo(cls):
        """
        LogisticClassifier: Example with pre-loaded data.
        Uses Fisher's iris dataset from scikit-learn.
        """
        iris = load_iris()
        cats = Categorical.from_codes(iris.target,iris.target_names)
        data = DataFrame(iris.data,columns=iris.feature_names)
        data.insert(0,'species',cats)

        return cls(data,'species')

        LogisticClassifier: Example with pre-loaded data.
        Uses Fisher's iris dataset from scikit-learn.
        
Example with pre-loaded data.
Uses Fisher's iris dataset from scikit-learn.
Example with pre - loaded data . Uses Fisher ' s iris dataset from scikit - learn .
def demo(cls):
        iris = load_iris()
        cats = Categorical.from_codes(iris.target,iris.target_names)
        data = DataFrame(iris.data,columns=iris.feature_names)
        data.insert(0,'species',cats)
        return cls(data,'species')
def demo ( cls ) : iris = load_iris ( ) cats = Categorical . from_codes ( iris . target , iris . target_names ) data = DataFrame ( iris . data , columns = iris . feature_names ) data . insert ( 0 , 'species' , cats ) return cls ( data , 'species' )
LogisticClassifier: Example with pre-loaded data.
LogisticClassifier : Example with pre - loaded data .
"""
        LogisticClassifier: Example with pre-loaded data.
        Uses Fisher's iris dataset from scikit-learn.
        """
cls