Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore ListLoad Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad For NameStore Call NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr ListLoad NameLoad AugAssignAdd AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Raise Call NameLoad Str For NameStore Call NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad BinOpDiv Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Preprocess data before sending to algorithms
 __future__ division base Task percept.fields.base List Complex N/A numpy np percept.conf.base settings percept.utils.models RegistryCategories percept.tests.framework NormalizationTester N/A os percept.utils.input DataFormats N/A logging N/A log N/A N/A logging getLogger __name__ Normalize N/A Task N/A N/A 
    Normalize values by reducing standard deviation to 1 and mean to 0
     N/A column_means N/A List N/A column_stdevs N/A List N/A category N/A RegistryCategories preprocessors N/A tester NormalizationTester N/A test_cases N/A N/A stream dataformat N/A N/A N/A os path abspath N/A N/A N/A os path join N/A settings PACKAGE_PATH tests/data/csv/1/data.csv N/A DataFormats csv N/A data N/A Complex N/A help_text Example class to normalize input values. train N/A N/A self data N/A kwargs N/A N/A 
        Calculate the standard deviations and means in the training data
         N/A N/A self data data N/A i N/A xrange 0 N/A N/A data shape N/A 1 N/A N/A column_mean N/A N/A np mean N/A N/A data icol i N/A column_stdev N/A N/A np std N/A N/A data icol i N/A N/A self column_means N/A column_mean N/A N/A self column_stdevs N/A column_stdev N/A N/A self data N/A N/A self predict data N/A predict N/A N/A self test_data N/A kwargs N/A N/A 
        Adjust new input by the values in the training data
         N/A N/A N/A N/A test_data shape N/A 1 N/A N/A N/A self data shape N/A 1 N/A N/A N/A Exception Test data has different number of columns than training data. N/A i N/A xrange 0 N/A N/A test_data shape N/A 1 N/A N/A N/A N/A test_data loc N/A N/A N/A i N/A N/A N/A test_data icol i N/A N/A self column_means N/A i N/A N/A N/A int N/A N/A self column_stdevs N/A i 0 N/A N/A N/A N/A test_data loc N/A N/A N/A i N/A N/A N/A test_data icol i N/A N/A self column_stdevs N/A i N/A test_data N/A N/A