Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\dev\aim\FEDOT\FEDOT-master\venv\Scripts\python.exe D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py
- 2024-07-17 05:45:40,071 - Topological features operation requires extra dependencies for time series forecasting, which are not installed. It can infuence the performance. Please install it by 'pip install fedot[extra]'
- 2024-07-17 05:45:40,367 - CSV data extraction - Used the column as index: "ID".
- 2024-07-17 05:45:40,402 - CSV data extraction - Used the column as index: "ID".
- 2024-07-17 05:45:40,507 - DataSourceSplitter - Hold out validation is applied.
- 2024-07-17 05:45:40,720 - DataSourceSplitter - Hold out validation is applied.
- INITIAL METRIC: -0.5917
- 2024-07-17 05:45:41,562 - GraphStructuralAnalysis - Approaches for analysis are not given, thus will be set to defaults.
- 2024-07-17 05:45:41,563 - NodesAnalysis - Nodes to analyze are not defined. All nodes will be analyzed.
- 2024-07-17 05:45:46,670 - node_analysis - knn node can not be deleted
- 2024-07-17 05:45:46,673 - node_analysis - replacing node: logit
- 2024-07-17 05:45:46,674 - node_analysis - replacing node: logit
- 2024-07-17 05:45:47,374 - Topological features operation requires extra dependencies for time series forecasting, which are not installed. It can infuence the performance. Please install it by 'pip install fedot[extra]'
- 2024-07-17 05:45:52,239 - node_analysis - losses: [1.2761032911327386]
- 2024-07-17 05:45:53,928 - node_analysis - losses: [1.2761032911327386]
- 2024-07-17 05:45:53,929 - node_analysis - knn subtree can not be deleted
- 2024-07-17 05:45:57,319 - node_analysis - losses for qda: [1.0031012380874416]
- 2024-07-17 05:45:57,321 - node_analysis - replacing node: rf
- 2024-07-17 05:45:57,322 - node_analysis - replacing node: logit
- 2024-07-17 05:46:04,587 - node_analysis - losses: [1.0106633150180506]
- 2024-07-17 05:46:06,298 - node_analysis - losses: [1.0030932121089544]
- 2024-07-17 05:46:11,274 - node_analysis - losses for qda: [1.0243395823601833]
- 2024-07-17 05:46:14,402 - node_analysis - losses for xgboost: [0.9895020201387852]
- 2024-07-17 05:46:14,404 - node_analysis - replacing node: scaling
- 2024-07-17 05:46:14,404 - node_analysis - replacing node: pca
- 2024-07-17 05:46:17,597 - node_analysis - losses: [1.0059897877449733]
- 2024-07-17 05:46:19,009 - node_analysis - losses: [1.003717633235256]
- 2024-07-17 05:46:22,167 - node_analysis - losses for xgboost: [0.9895020201387852]
- 2024-07-17 05:46:25,503 - node_analysis - losses for knn: [1.0367373113293108]
- 2024-07-17 05:46:25,504 - node_analysis - replacing node: dt
- 2024-07-17 05:46:25,505 - node_analysis - replacing node: logit
- 2024-07-17 05:46:28,945 - node_analysis - losses: [0.9456063385967699]
- 2024-07-17 05:46:30,571 - node_analysis - losses: [1.0602975711783902]
- 2024-07-17 05:46:33,334 - node_analysis - losses for knn: [1.1315738783293763]
- 2024-07-17 05:46:36,579 - node_analysis - losses for logit: [1.1298571215309714]
- 2024-07-17 05:46:36,581 - node_analysis - replacing node: rf
- 2024-07-17 05:46:36,581 - node_analysis - replacing node: rf
- 2024-07-17 05:46:42,290 - node_analysis - losses: [0.9585080990148914]
- 2024-07-17 05:46:46,239 - node_analysis - losses: [0.9585080990148914]
- 2024-07-17 05:46:49,506 - node_analysis - losses for logit: [1.1298571215309714]
- 2024-07-17 05:46:52,566 - node_analysis - losses for xgboost: [1.0597758825767243]
- 2024-07-17 05:46:52,568 - node_analysis - replacing node: pca
- 2024-07-17 05:46:52,569 - node_analysis - replacing node: scaling
- 2024-07-17 05:46:55,669 - node_analysis - losses: [1.013042215041647]
- 2024-07-17 05:46:57,514 - node_analysis - losses: [1.0599259683744344]
- 2024-07-17 05:47:00,664 - node_analysis - losses for xgboost: [1.0597758825767243]
- 2024-07-17 05:47:00,697 - EdgesAnalysis - Edges to analyze are not defined. All edges will be analyzed.
- 2024-07-17 05:47:04,899 - edge_analysis - Can not delete edge since modified graph can not pass verification
- 2024-07-17 05:47:04,900 - edge_analysis - if remove this edge then get an invalid graph
- 2024-07-17 05:47:04,901 - edge_analysis - replace edge parent: xgboost
- 2024-07-17 05:47:04,902 - edge_analysis - replace edge child: xgboost
- 2024-07-17 05:47:04,902 - edge_analysis - replace edge parent: xgboost
- 2024-07-17 05:47:04,903 - edge_analysis - replace edge child: knn
- 2024-07-17 05:47:05,522 - Topological features operation requires extra dependencies for time series forecasting, which are not installed. It can infuence the performance. Please install it by 'pip install fedot[extra]'
- 2024-07-17 05:47:05,798 - edge_analysis - Can not delete edge since modified graph can not pass verification
- 2024-07-17 05:47:05,799 - edge_analysis - if remove this edge then get an invalid graph
- 2024-07-17 05:47:05,800 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:05,802 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:10,778 - edge_analysis - loss: [1.0]
- 2024-07-17 05:47:10,780 - edge_analysis - Can not delete edge since modified graph can not pass verification
- 2024-07-17 05:47:10,780 - edge_analysis - if remove this edge then get an invalid graph
- 2024-07-17 05:47:10,782 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:10,783 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:14,274 - edge_analysis - loss: [1.0]
- 2024-07-17 05:47:14,280 - edge_analysis - Can not delete edge since modified graph can not pass verification
- 2024-07-17 05:47:14,280 - edge_analysis - if remove this edge then get an invalid graph
- 2024-07-17 05:47:14,281 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:14,282 - edge_analysis - Can not connect these nodes
- 2024-07-17 05:47:17,769 - edge_analysis - loss: [1.0]
- multiprocessing.pool.RemoteTraceback:
- """
- Traceback (most recent call last):
- File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 125, in worker
- result = (True, func(*args, **kwds))
- File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 51, in starmapstar
- return list(itertools.starmap(args[0], args[1]))
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edge_sa_approaches.py", line 69, in analyze
- results.add_result(approach(graph=graph,
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edge_sa_approaches.py", line 190, in analyze
- loss_per_sample = self._compare_with_origin_by_metrics(sample_graph)
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\base_sa_approaches.py", line 59, in _compare_with_origin_by_metrics
- modified_graph_metrics = self._objective(modified_graph).values
- File "D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py", line 48, in __call__
- return self.objective(pip, **kwargs)
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\core\optimisers\objective\objective_eval.py", line 33, in __call__
- return self.evaluate(graph)
- File "D:\dev\aim\FEDOT\FEDOT-master\fedot\core\optimisers\objective\data_objective_eval.py", line 60, in evaluate
- graph_id = graph.root_node.descriptive_id
- File "D:\dev\aim\FEDOT\FEDOT-master\fedot\core\pipelines\pipeline.py", line 340, in root_node
- raise ValueError(f'{ERROR_PREFIX} More than 1 root_nodes in pipeline')
- ValueError: Invalid pipeline configuration: More than 1 root_nodes in pipeline
- """
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py", line 113, in <module>
- optimized_graph, results = sa.optimize(graph=deepcopy(initial_graph), n_jobs=1, max_iter=2)
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\graph_structural_analysis.py", line 137, in optimize
- analysis_result = self.analyze(graph=graph, result=result, timer=timer, n_jobs=n_jobs)
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\graph_structural_analysis.py", line 110, in analyze
- self._edges_analyze.analyze(graph=graph,
- File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edges_analysis.py", line 72, in analyze
- cur_edges_result = pool.starmap(edge_analysis.analyze,
- File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 372, in starmap
- return self._map_async(func, iterable, starmapstar, chunksize).get()
- File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 771, in get
- raise self._value
- ValueError: Invalid pipeline configuration: More than 1 root_nodes in pipeline
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement