Python數據分析:實用向( 四 )

模型評估names=pd.DataFrame(names)names=names[0].tolist()result=pd.concat(Classify_result,axis=1)result.columns=namesresult.index=["recall","precision","f1score","mse"]result小工具tqdm顯示進度條
from tqdm import tqdmfor I in tqdm():記錄時間
Import timetime_begin = time.time()#code,你的程序time_end = time.time()time = time_end - time_beginprint('time:', time)jupyter操作

  • Shift+上下鍵# 按住Shift進行上下鍵操作可復選多個cell
  • Shift-M# 合并所選cell或合并當前cell和下方的cell
  • Ctrl + Shift + - # 從光標所在的位置拆分cell
原創作者:孤飛-博客園原文鏈接:https://www.cnblogs.com/ranxi169/p/16838967.html

推薦閱讀