美文网首页
1. 1 基础 - Jupyter

1. 1 基础 - Jupyter

作者: ruihan_xia | 来源:发表于2018-02-22 11:05 被阅读0次

1.%RUN

%RUN 运行jupyter本地文件,在实际学习中...%run没有用到过...


%RUN

2.%timeit

%timeit 计算代码块运行的时间.这种计算时间方式比较精确.多次运行程序,得到平均时间.


%timeit

3.%time

%time 单次计算代码块运行时间,这种方式计算一次,比较快. 在学习机器学习中,一般用的这种.


%time

相关文章

网友评论

      本文标题:1. 1 基础 - Jupyter

      本文链接:https://www.haomeiwen.com/subject/wdiatftx.html