Example #1
0
def get_calhousing():
    r"""Return the California housing regression dataset.

    Type: Regression
    Samples: 20640
    Attributes: 8
    Targets: 1

    Source: http://www.dcc.fc.up.pt/~ltorgo/Regression/cal_housing.html

    Recommended citations:
    @misc{calhousing,
        title={California Housing},
        author={Pace, R. Kelley},
        note={\url{http://www.dcc.fc.up.pt/~ltorgo/Regression/cal_housing.html}}
    }

    @article{pace1997sparse,
        title={Sparse spatial autoregressions},
        author={Pace, R Kelley and Barry, Ronald},
        journal={Statistics \& Probability Letters},
        volume={33},
        number={3},
        pages={291--297},
        year={1997},
        publisher={Elsevier}
    }

    @article{huang2005generalized,
        title={A generalized growing and pruning RBF (GGAP-RBF) neural network for function approximation},
        author={Huang, Guang-Bin and Saratchandran, Paramasivan and Sundararajan, Narasimhan},
        journal={IEEE Transactions on Neural Networks},
        volume={16},
        number={1},
        pages={57--67},
        year={2005},
        publisher={IEEE}
    }

    @article{huang2006universal,
        title={Universal approximation using incremental constructive feedforward networks with random hidden nodes},
        author={Huang, Guang-Bin and Chen, Lei and Siew, Chee Kheong and others},
        journal={IEEE Trans. Neural Networks},
        volume={17},
        number={4},
        pages={879--892},
        year={2006}
    }
    """
    return process.get_data(_filename_relative('cal_housing.data'),
                            0,
                            classification=False)
Example #2
0
def get_haberman():
    r"""Return the Haberman's survival classification dataset.

    Type: Classification
    Samples: 306
    Attributes: 3
    Classes: 2

    Source: https://archive.ics.uci.edu/ml/datasets/Haberman%27s+Survival
    @misc{Lichman:2013,
        author={M. Lichman},
        year={2013},
        title={{UCI} Machine Learning Repository},
        note={\url{http://archive.ics.uci.edu/ml}},
        institution={University of California, Irvine, School of Information and Computer Sciences}
    }
    """
    return process.get_data(_filename_relative('haberman.data'), 0)
Example #3
0
def get_cancer_original():
    r"""Return the original Wisconsin breast cancer dataset.

    Type: Classification
    Samples: 683
    Attributes: 9
    Classes 2

    Source: https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+%28Original%29
    
    @misc{Lichman:2013,
        author={M. Lichman},
        year={2013},
        title={{UCI} Machine Learning Repository},
        note={\url{http://archive.ics.uci.edu/ml}},
        institution={University of California, Irvine, School of Information and Computer Sciences}
    }
    """
    return process.get_data(_filename_relative('breast-cancer-wisconsin.data'),
                            1)
Example #4
0
def get_iris():
    r"""Return the iris classification dataset.

    Type: Classification
    Samples: 150
    Attributes: 4
    Classes: 3

    Source: http://archive.ics.uci.edu/ml/datasets/Iris

    Recommended citations:
    @misc{Lichman:2013,
        author={M. Lichman},
        year={2013},
        title={{UCI} Machine Learning Repository},
        note={\url{http://archive.ics.uci.edu/ml}},
        institution={University of California, Irvine, School of Information and Computer Sciences}
    }
    """
    return process.get_data(_filename_relative('iris.data'), 0)
Example #5
0
def get_cancer_diagnostic():
    r"""Return the Wisconsin breast cancer diagnostic dataset.

    Type: Classification
    Samples: 569
    Attributes: 30
    Classes: 2

    Source: http://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+%28Diagnostic%29

    Recommended citations:
    @misc{Lichman:2013,
        author={M. Lichman},
        year={2013},
        title={{UCI} Machine Learning Repository},
        note={\url{http://archive.ics.uci.edu/ml}},
        institution={University of California, Irvine, School of Information and Computer Sciences}
    }
    """
    return process.get_data(_filename_relative('wdbc.data'),
                            2,
                            attr_end_pos=None,
                            target_pos=1)