(venv) ➜ feature-selection git:(master) ✗ env DEBUGPY_LAUNCHER_PORT=53859 /Users/dunnkers/git/feature-selection/venv/bin/python /Users/dunnkers/.vscode/extensions/ms-python.python-2020.4.76186/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/dunnkers/git/feature-selection/jobs/run-featboost.py /Users/dunnkers/git/feature-selection/data/6_bit_mutliplexer
Ranking pool [FeatBoost_XGBoost]
Running pool... [4 workers, 1 datasets]
Ranking features iteration 01
feature importances of all available feature:
x_001 3.792205
x_003 3.277614
x_004 2.644713
x_002 2.451928
x_006 2.280755
x_005 2.112983
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/Users/dunnkers/git/feature-selection/jobs/ComputePool.py", line 22, in ranking_pool
ranking = ranking_func(X, y)
File "/Users/dunnkers/git/feature-selection/jobs/run-featboost.py", line 25, in FeatBoost_XGBoost
fs.fit(X, y)
File "/Users/dunnkers/git/feature-selection/jobs/lib/feat_boost.py", line 188, in fit
return self._fit(X, Y)
File "/Users/dunnkers/git/feature-selection/jobs/lib/feat_boost.py", line 272, in _fit
selected_variable,best_acc_t = self._siso(X,Y,iteration_number)
File "/Users/dunnkers/git/feature-selection/jobs/lib/feat_boost.py", line 396, in _siso
ranking, self.all_ranking_ = self._input_ranking(X, Y, iteration_number)
File "/Users/dunnkers/git/feature-selection/jobs/lib/feat_boost.py", line 559, in _input_ranking
print("%s %05f" % (self._feature_names[feature_rank[i]], feature_importance[feature_rank[i]]))
IndexError: index -7 is out of bounds for axis 0 with size 6
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/dunnkers/.vscode/extensions/ms-python.python-2020.4.76186/pythonFiles/lib/python/debugpy/wheels/debugpy/__main__.py", line 45, in <module>
cli.main()
File "/Users/dunnkers/.vscode/extensions/ms-python.python-2020.4.76186/pythonFiles/lib/python/debugpy/wheels/debugpy/../debugpy/server/cli.py", line 430, in main
run()
File "/Users/dunnkers/.vscode/extensions/ms-python.python-2020.4.76186/pythonFiles/lib/python/debugpy/wheels/debugpy/../debugpy/server/cli.py", line 267, in run_file
runpy.run_path(options.target, run_name=compat.force_str("__main__"))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/dunnkers/git/feature-selection/jobs/run-featboost.py", line 36, in <module>
run_ranking_pool(FeatBoost_XGBoost)
File "/Users/dunnkers/git/feature-selection/jobs/ComputePool.py", line 42, in run_ranking_pool
run_pool(ranking_pool, 'ranking', ranking_func, ranking_method)
File "/Users/dunnkers/git/feature-selection/jobs/ComputePool.py", line 99, in run_pool
pool_results = pool.starmap(func, pool_args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 276, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
IndexError: index -7 is out of bounds for axis 0 with size 6
Input is a 6-feature dataset, found here. FeatBoost is executed using the following setup:
(exactly the same setup as
test.py)verbose=2.Full error log
verbose=1, another error is thrown.Full error log