未验证 提交 31ab08e3 编写于 作者: rictjo's avatar rictjo 提交者: GitHub

Update quantification.py

上级 07e5dbb0
......@@ -2017,7 +2017,7 @@ def composition_contraction_to_hierarchy_ser ( na1:np.array , na2:np.array , n:i
print ( pd.DataFrame(solution[::-1]).T )
return ( pd.DataFrame(solution).T )
def composition_contraction_to_hierarchy ( contracted_df , TOL=1E-10 ,
def composition_contraction_to_hierarchy ( contracted_df:pd.DataFrame , TOL:float=1E-10 ,
levels:list[str] = [ 0.01,0.05,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.95,0.99 ] ,
default_label:int = -1 ,
bWriteToDisc:bool = True ,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册