C:\python\py\.venv\Scripts\python.exe C:\python\py\7.22.py
=== 因素筛选结果 ===
心率: rpb=-0.00, P=0.97
血氧饱和度: rpb=-0.04, P=0.09
GCS评分: rpb=0.24, P=0.00
转运时长: rpb=0.09, P=0.00
镇静剂使用: rpb=-0.05, P=0.06
呼吸支持: rpb=0.04, P=0.12
年龄: rpb=-0.02, P=0.45
APACHE II评分: rpb=-0.04, P=0.11
=== VIF共线性分析 ===
特征 VIF值
0 心率 17.976832
1 血氧饱和度 42.486776
2 GCS评分 7.331784
3 转运时长 6.108660
4 镇静剂使用 2.009300
5 呼吸支持 2.615991
6 年龄 16.590947
7 APACHE II评分 3.918573
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
C:\python\py\7.22.py:159: FutureWarning:
Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
=== 显著直接关联(偏相关|r|>0.001) ===
血氧饱和度 与 转运后不良事件: r=-0.050
GCS评分 与 转运后不良事件: r=0.240
转运时长 与 转运后不良事件: r=0.092
镇静剂使用 与 转运后不良事件: r=-0.057
呼吸支持 与 转运后不良事件: r=0.046
年龄 与 转运后不良事件: r=-0.024
APACHE II评分 与 转运后不良事件: r=-0.033
Traceback (most recent call last):
File "C:\python\py\7.22.py", line 201, in <module>
pos = nx.kamada_kawai_layout(G_sub, weight='weight')
File "C:\python\py\.venv\Lib\site-packages\networkx\drawing\layout.py", line 942, in kamada_kawai_layout
dist = dict(nx.shortest_path_length(G, weight=weight))
File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 1083, in all_pairs_dijkstra_path_length
yield (n, length(G, n, cutoff=cutoff, weight=weight))
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\py\.venv\Lib\site-packages\networkx\utils\decorators.py", line 784, in func
return argmap._lazy_compile(__wrapper)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "<class 'networkx.utils.decorators.argmap'> compilation 12", line 3, in argmap_single_source_dijkstra_path_length_9
import gzip
^^^
File "C:\python\py\.venv\Lib\site-packages\networkx\utils\backends.py", line 535, in _call_if_no_backends_installed
return self.orig_func(*args, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 389, in single_source_dijkstra_path_length
return multi_source_dijkstra_path_length(G, {source}, cutoff=cutoff, weight=weight)
File "C:\python\py\.venv\Lib\site-packages\networkx\utils\decorators.py", line 784, in func
return argmap._lazy_compile(__wrapper)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "<class 'networkx.utils.decorators.argmap'> compilation 16", line 3, in argmap_multi_source_dijkstra_path_length_13
import gzip
^^^
File "C:\python\py\.venv\Lib\site-packages\networkx\utils\backends.py", line 535, in _call_if_no_backends_installed
return self.orig_func(*args, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 647, in multi_source_dijkstra_path_length
return _dijkstra_multisource(G, sources, weight, cutoff=cutoff)
File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 866, in _dijkstra_multisource
raise ValueError("Contradictory paths found:", "negative weights?")
ValueError: ('Contradictory paths found:', 'negative weights?')
进程已结束,退出代码为 1
结果根本没变啊
最新发布