py_ml_utils
py_ml_utils copied to clipboard
Some small utility modules to help with pandas, numpy and sklearn usage in other projects
after slight change results are is it working as expected? ``` GradientBoostingRegressor 0.8295(+-0.0387) 0.07m ExtraTreesRegressor 0.8220(+-0.0485) 0.07m BaggingRegressor 0.7951(+-0.0435) 0.08m RandomForestRegressor 0.7938(+-0.0446) 0.08m AdaBoostRegressor 0.7448(+-0.0311) 0.07m ExtraTreeRegressor 0.7230(+-0.0636) 0.06m LinearRegression...
error is introspect_sklearn.py ``` File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 182, in try_all_classifiers(X, y) File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 71, in try_all_classifiers classifiers = get_classifiers(sklearn) File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 38, in get_classifiers classifiers...
Maybe you should try the function - process_iter() https://stackoverflow.com/questions/31216835/python-psutil-psutil-get-process-list-error and https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#050---2012-06-27 2012-06-27 Enhancements 73: psutil.get_process_list() is deprecated. ``` File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 181, in try_all_classifiers(X, y) File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line...
after this change in regressor_finder.py if isinstance(r.Algorithm, str): # July29 elif isinstance(r.Args, str): #July29 the output is [print(x) for x in regressors] {'name': 'isotonic.IsotonicRegression', 'args': [{'name': 'increasing', 'value': '[True, False]'},...
pls see https://stackoverflow.com/questions/34803467/unexpected-exception-name-basestring-is-not-defined-when-invoking-ansible2 basestring is no longer available in Python 3. From What’s New In Python 3.0: The builtin basestring abstract type was removed. Use str instead. The str and...
error in self.assertEqual(['linear', 'poly', 'precomputed', 'rbf', 'sigmoid'], pst("string, optional (default='rbf')", "Specifies the kernel type to be used in the algorithm.It must be one of 'linear', 'poly', 'rbf', 'sigmoid', 'precomputed' ora...
C:\Users\sndr\Anaconda3\lib\site-packages\sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface...
File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\tests.py", line 5, in from introspect_sklearn import * File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 8, in from sklearn import cluster, covariance, \ builtins.ImportError: cannot import name 'lda' what is it...
File "e:\Auto ML\code\py_ml_utils-master\py_ml_utils-master\pml\auto\tests.py", line 4, in from introspect_sklearn import * File "e:\Auto ML\code\py_ml_utils-master\py_ml_utils-master\pml\auto\introspect_sklearn.py", line 5, in from ..misc import * builtins.ImportError: attempted relative import with no known parent package
this line gives an error except Exception, e: File "e:\Auto ML\code\py_ml_utils-master\py_ml_utils-master\pml\auto\tests.py", line 4, in from introspect_sklearn import * File "e:\Auto ML\code\py_ml_utils-master\py_ml_utils-master\pml\auto\introspect_sklearn.py", line 98, in ? except Exception, e: Syntax Error:...