Advertisement
donRumata03

Untitled

Jul 16th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. D:\dev\aim\FEDOT\FEDOT-master\venv\Scripts\python.exe D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py
  2. 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]'
  3. 2024-07-17 05:45:40,367 - CSV data extraction - Used the column as index: "ID".
  4. 2024-07-17 05:45:40,402 - CSV data extraction - Used the column as index: "ID".
  5. 2024-07-17 05:45:40,507 - DataSourceSplitter - Hold out validation is applied.
  6. 2024-07-17 05:45:40,720 - DataSourceSplitter - Hold out validation is applied.
  7. INITIAL METRIC: -0.5917
  8. 2024-07-17 05:45:41,562 - GraphStructuralAnalysis - Approaches for analysis are not given, thus will be set to defaults.
  9. 2024-07-17 05:45:41,563 - NodesAnalysis - Nodes to analyze are not defined. All nodes will be analyzed.
  10. 2024-07-17 05:45:46,670 - node_analysis - knn node can not be deleted
  11. 2024-07-17 05:45:46,673 - node_analysis - replacing node: logit
  12. 2024-07-17 05:45:46,674 - node_analysis - replacing node: logit
  13. 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]'
  14. 2024-07-17 05:45:52,239 - node_analysis - losses: [1.2761032911327386]
  15.  
  16. 2024-07-17 05:45:53,928 - node_analysis - losses: [1.2761032911327386]
  17.  
  18. 2024-07-17 05:45:53,929 - node_analysis - knn subtree can not be deleted
  19. 2024-07-17 05:45:57,319 - node_analysis - losses for qda: [1.0031012380874416]
  20. 2024-07-17 05:45:57,321 - node_analysis - replacing node: rf
  21. 2024-07-17 05:45:57,322 - node_analysis - replacing node: logit
  22. 2024-07-17 05:46:04,587 - node_analysis - losses: [1.0106633150180506]
  23.  
  24. 2024-07-17 05:46:06,298 - node_analysis - losses: [1.0030932121089544]
  25.  
  26. 2024-07-17 05:46:11,274 - node_analysis - losses for qda: [1.0243395823601833]
  27. 2024-07-17 05:46:14,402 - node_analysis - losses for xgboost: [0.9895020201387852]
  28. 2024-07-17 05:46:14,404 - node_analysis - replacing node: scaling
  29. 2024-07-17 05:46:14,404 - node_analysis - replacing node: pca
  30. 2024-07-17 05:46:17,597 - node_analysis - losses: [1.0059897877449733]
  31.  
  32. 2024-07-17 05:46:19,009 - node_analysis - losses: [1.003717633235256]
  33.  
  34. 2024-07-17 05:46:22,167 - node_analysis - losses for xgboost: [0.9895020201387852]
  35. 2024-07-17 05:46:25,503 - node_analysis - losses for knn: [1.0367373113293108]
  36. 2024-07-17 05:46:25,504 - node_analysis - replacing node: dt
  37. 2024-07-17 05:46:25,505 - node_analysis - replacing node: logit
  38. 2024-07-17 05:46:28,945 - node_analysis - losses: [0.9456063385967699]
  39.  
  40. 2024-07-17 05:46:30,571 - node_analysis - losses: [1.0602975711783902]
  41.  
  42. 2024-07-17 05:46:33,334 - node_analysis - losses for knn: [1.1315738783293763]
  43. 2024-07-17 05:46:36,579 - node_analysis - losses for logit: [1.1298571215309714]
  44. 2024-07-17 05:46:36,581 - node_analysis - replacing node: rf
  45. 2024-07-17 05:46:36,581 - node_analysis - replacing node: rf
  46. 2024-07-17 05:46:42,290 - node_analysis - losses: [0.9585080990148914]
  47.  
  48. 2024-07-17 05:46:46,239 - node_analysis - losses: [0.9585080990148914]
  49.  
  50. 2024-07-17 05:46:49,506 - node_analysis - losses for logit: [1.1298571215309714]
  51. 2024-07-17 05:46:52,566 - node_analysis - losses for xgboost: [1.0597758825767243]
  52. 2024-07-17 05:46:52,568 - node_analysis - replacing node: pca
  53. 2024-07-17 05:46:52,569 - node_analysis - replacing node: scaling
  54. 2024-07-17 05:46:55,669 - node_analysis - losses: [1.013042215041647]
  55.  
  56. 2024-07-17 05:46:57,514 - node_analysis - losses: [1.0599259683744344]
  57.  
  58. 2024-07-17 05:47:00,664 - node_analysis - losses for xgboost: [1.0597758825767243]
  59. 2024-07-17 05:47:00,697 - EdgesAnalysis - Edges to analyze are not defined. All edges will be analyzed.
  60. 2024-07-17 05:47:04,899 - edge_analysis - Can not delete edge since modified graph can not pass verification
  61. 2024-07-17 05:47:04,900 - edge_analysis - if remove this edge then get an invalid graph
  62. 2024-07-17 05:47:04,901 - edge_analysis - replace edge parent: xgboost
  63. 2024-07-17 05:47:04,902 - edge_analysis - replace edge child: xgboost
  64. 2024-07-17 05:47:04,902 - edge_analysis - replace edge parent: xgboost
  65. 2024-07-17 05:47:04,903 - edge_analysis - replace edge child: knn
  66. 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]'
  67. 2024-07-17 05:47:05,798 - edge_analysis - Can not delete edge since modified graph can not pass verification
  68. 2024-07-17 05:47:05,799 - edge_analysis - if remove this edge then get an invalid graph
  69. 2024-07-17 05:47:05,800 - edge_analysis - Can not connect these nodes
  70. 2024-07-17 05:47:05,802 - edge_analysis - Can not connect these nodes
  71. 2024-07-17 05:47:10,778 - edge_analysis - loss: [1.0]
  72. 2024-07-17 05:47:10,780 - edge_analysis - Can not delete edge since modified graph can not pass verification
  73. 2024-07-17 05:47:10,780 - edge_analysis - if remove this edge then get an invalid graph
  74. 2024-07-17 05:47:10,782 - edge_analysis - Can not connect these nodes
  75. 2024-07-17 05:47:10,783 - edge_analysis - Can not connect these nodes
  76. 2024-07-17 05:47:14,274 - edge_analysis - loss: [1.0]
  77. 2024-07-17 05:47:14,280 - edge_analysis - Can not delete edge since modified graph can not pass verification
  78. 2024-07-17 05:47:14,280 - edge_analysis - if remove this edge then get an invalid graph
  79. 2024-07-17 05:47:14,281 - edge_analysis - Can not connect these nodes
  80. 2024-07-17 05:47:14,282 - edge_analysis - Can not connect these nodes
  81. 2024-07-17 05:47:17,769 - edge_analysis - loss: [1.0]
  82. multiprocessing.pool.RemoteTraceback:
  83. """
  84. Traceback (most recent call last):
  85. File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 125, in worker
  86. result = (True, func(*args, **kwds))
  87. File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 51, in starmapstar
  88. return list(itertools.starmap(args[0], args[1]))
  89. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edge_sa_approaches.py", line 69, in analyze
  90. results.add_result(approach(graph=graph,
  91. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edge_sa_approaches.py", line 190, in analyze
  92. loss_per_sample = self._compare_with_origin_by_metrics(sample_graph)
  93. 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
  94. modified_graph_metrics = self._objective(modified_graph).values
  95. File "D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py", line 48, in __call__
  96. return self.objective(pip, **kwargs)
  97. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\core\optimisers\objective\objective_eval.py", line 33, in __call__
  98. return self.evaluate(graph)
  99. File "D:\dev\aim\FEDOT\FEDOT-master\fedot\core\optimisers\objective\data_objective_eval.py", line 60, in evaluate
  100. graph_id = graph.root_node.descriptive_id
  101. File "D:\dev\aim\FEDOT\FEDOT-master\fedot\core\pipelines\pipeline.py", line 340, in root_node
  102. raise ValueError(f'{ERROR_PREFIX} More than 1 root_nodes in pipeline')
  103. ValueError: Invalid pipeline configuration: More than 1 root_nodes in pipeline
  104. """
  105.  
  106. The above exception was the direct cause of the following exception:
  107.  
  108. Traceback (most recent call last):
  109. File "D:\dev\aim\FEDOT\FEDOT-master\examples\advanced\structural_analysis\structural_analysis_example.py", line 113, in <module>
  110. optimized_graph, results = sa.optimize(graph=deepcopy(initial_graph), n_jobs=1, max_iter=2)
  111. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\graph_structural_analysis.py", line 137, in optimize
  112. analysis_result = self.analyze(graph=graph, result=result, timer=timer, n_jobs=n_jobs)
  113. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\graph_structural_analysis.py", line 110, in analyze
  114. self._edges_analyze.analyze(graph=graph,
  115. File "D:\dev\aim\FEDOT\FEDOT-master\venv\lib\site-packages\golem\structural_analysis\graph_sa\edges_analysis.py", line 72, in analyze
  116. cur_edges_result = pool.starmap(edge_analysis.analyze,
  117. File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 372, in starmap
  118. return self._map_async(func, iterable, starmapstar, chunksize).get()
  119. File "C:\Users\vova\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 771, in get
  120. raise self._value
  121. ValueError: Invalid pipeline configuration: More than 1 root_nodes in pipeline
  122.  
  123. Process finished with exit code 1
  124.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement