-
大小: 98.51MB文件類型: .zip金幣: 1下載: 0 次發布日期: 2022-11-26
- 語言: 其他
- 標簽: sklearn??TensorFlow??
資源簡介
《Hands-on Machine Learning with Scikit-Learn and TensorFlow》一書的pdf電子版以及代碼, 高清版, 帶書簽
代碼片段和文件信息
import?os
import?subprocess
def?export_script_and_view(model?os_path?contents_manager):
????if?model[“type“]?!=?“notebook“:
????????return
????dir_name?file_name?=?os.path.split(os_path)
????file_base?file_ext?=?os.path.splitext(file_name)
????if?file_base.startswith(“Untitled“):
????????return
????export_name?=?file_base?if?file_ext?==?“.ipynb“?else?file_name
????subprocess.check_call([“jupyter“?“nbconvert“?“--to“?“script“?file_name?“--output“?export_name?+?“_script“]?cwd=dir_name)
????subprocess.check_call([“jupyter“?“nbconvert“?“--to“?“html“?file_name?“--output“?export_name?+?“_view“]?cwd=dir_name)
c.FileContentsManager.post_save_hook?=?export_script_and_view
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-16?09:12??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\
?????目錄???????????0??2018-01-16?09:18??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\
?????文件?????????156??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.gitignore
?????文件?????????299??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\config
?????文件??????????73??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\desc
?????文件??????????23??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\HEAD
?????目錄???????????0??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\
?????文件?????????478??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\applypatch-msg.sample
?????文件?????????896??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\commit-msg.sample
?????文件????????3505??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\fsmonitor-watchman.sample
?????文件?????????189??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\post-update.sample
?????文件?????????424??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\pre-applypatch.sample
?????文件????????1642??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\pre-commit.sample
?????文件????????1348??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\pre-push.sample
?????文件????????4898??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\pre-reba
?????文件?????????544??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\pre-receive.sample
?????文件????????1492??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\hooks\update.sample
?????文件????????6819??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\index
?????目錄???????????0??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\info\
?????文件?????????240??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\info\exclude
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\
?????文件?????????175??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\HEAD
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\heads\
?????文件?????????175??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\heads\master
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\remotes\
?????目錄???????????0??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\remotes\origin\
?????文件?????????175??2018-01-16?09:14??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\logs\refs\remotes\origin\HEAD
?????目錄???????????0??2018-01-16?09:13??Hands-on?Machine?Learning?with?Scikit-Learn?and?TensorFlow\Code\.git\ob
............此處省略100個文件信息
評論
共有 條評論