{ "python": { "node_id": "python-0-0", "keywords": [], "children": [ { "python初阶": { "node_id": "python-1-0", "keywords": [], "children": [ { "预备知识": { "node_id": "python-2-0", "keywords": [], "children": [ { "Python简介": { "node_id": "python-3-0", "keywords": [], "children": [ { "Python都能做什么": { "keywords": [], "children": [], "node_id": "python-4-0" } }, { "python起源和发展": { "keywords": [], "children": [], "node_id": "python-insert-2" } }, { "python语言特点": { "keywords": [], "children": [], "node_id": "python-insert-3" } } ] } }, { "程序设计思想": { "node_id": "python-3-1", "keywords": [], "children": [] } }, { "安装Python": { "node_id": "python-3-2", "keywords": [], "children": [ { "Windows安装Python": { "keywords": [], "children": [], "node_id": "python-4-1" } }, { "Linux安装Python": { "keywords": [], "children": [], "node_id": "python-4-2" } }, { "MacOS安装Python": { "keywords": [], "children": [], "node_id": "python-4-3" } } ] } }, { "运行方式": { "node_id": "python-3-3", "keywords": [], "children": [ { "以交互方式运行": { "keywords": [], "children": [], "node_id": "python-4-4" } }, { "以脚本方式运行": { "keywords": [], "children": [], "node_id": "python-4-5" } } ] } }, { "常用开发工具": { "node_id": "python-3-4", "keywords": [], "children": [ { "typing --- 类型提示支持": { "keywords": [], "children": [], "node_id": "python-4-6" } }, { "pydoc --- 文档生成器和在线帮助系统": { "keywords": [], "children": [], "node_id": "python-4-7" } }, { "Python Development Mode": { "keywords": [], "children": [], "node_id": "python-4-8" } }, { "Effects of the Python Development Mode": { "keywords": [], "children": [], "node_id": "python-4-9" } }, { "ResourceWarning Example": { "keywords": [], "children": [], "node_id": "python-4-10" } }, { "Bad file descriptor error example": { "keywords": [], "children": [], "node_id": "python-4-11" } }, { "doctest --- 测试交互性的Python示例": { "keywords": [], "children": [], "node_id": "python-4-12" } }, { "unittest --- 单元测试框架": { "keywords": [], "children": [], "node_id": "python-4-13" } }, { "unittest.mock --- mock对象库": { "keywords": [], "children": [], "node_id": "python-4-14" } }, { "unittest.mock上手指南": { "keywords": [], "children": [], "node_id": "python-4-15" } }, { "2to3 - 自动将Python 2 代码转为Python 3 代码": { "keywords": [], "children": [], "node_id": "python-4-16" } }, { "test --- Python回归测试包": { "keywords": [], "children": [], "node_id": "python-4-17" } }, { "test.support --- Utilities for the Python test suite": { "keywords": [], "children": [], "node_id": "python-4-18" } }, { "test.support.socket_helper --- Utilities for socket tests": { "keywords": [], "children": [], "node_id": "python-4-19" } }, { "test.support.script_helper --- Utilities for the Python execution tests": { "keywords": [], "children": [], "node_id": "python-4-20" } }, { "test.support.bytecode_helper --- Support tools for testing correct bytecode generation": { "keywords": [], "children": [], "node_id": "python-4-21" } }, { "使用PyCharm开发Python": { "keywords": [], "children": [], "node_id": "python-insert-0" } }, { "使用VSCode开发Python": { "keywords": [], "children": [], "node_id": "python-insert-1" } } ] } }, { "编码规范": { "node_id": "python-3-5", "keywords": [], "children": [] } }, { "模块管理": { "node_id": "python-3-6", "keywords": [], "children": [ { "pip": { "keywords": [], "children": [], "node_id": "python-4-22" } } ] } } ] } }, { "基础语法": { "node_id": "python-2-1", "keywords": [], "children": [ { "缩进规则": { "node_id": "python-3-7", "keywords": [], "children": [ { "建议使用4个空格": { "keywords": [], "children": [], "node_id": "python-4-23" } } ] } }, { "基础知识": { "node_id": "python-3-8", "keywords": [], "children": [ { "总体概念": { "keywords": [], "children": [ { "迭代": { "keywords": [], "children": [], "node_id": "python-5-1358" } }, { "缓存": { "keywords": [], "children": [], "node_id": "python-5-1359" } }, { "透明度": { "keywords": [], "children": [], "node_id": "python-5-1360" } } ], "node_id": "python-4-1423" } }, { "流程控制": { "keywords": [], "children": [ { "捕获异常": { "keywords": [], "children": [], "node_id": "python-5-1361" } }, { "异常链": { "keywords": [], "children": [], "node_id": "python-5-1362" } }, { "当一切顺利的时候": { "keywords": [], "children": [], "node_id": "python-5-1363" } }, { "继续执行,无论异常如何": { "keywords": [], "children": [], "node_id": "python-5-1364" } }, { "优化循环": { "keywords": [], "children": [], "node_id": "python-5-1365" } }, { "with语句": { "keywords": [], "children": [], "node_id": "python-5-1366" } }, { "条件表达式": { "keywords": [], "children": [], "node_id": "python-5-1367" } } ], "node_id": "python-4-1424" } }, { "迭代": { "keywords": [], "children": [ { "序列解包": { "keywords": [], "children": [], "node_id": "python-5-1368" } }, { "列表解析式": { "keywords": [], "children": [], "node_id": "python-5-1369" } }, { "生成器表达式": { "keywords": [], "children": [], "node_id": "python-5-1370" } }, { "集合解析式": { "keywords": [], "children": [], "node_id": "python-5-1371" } }, { "字典解析式": { "keywords": [], "children": [], "node_id": "python-5-1372" } }, { "将迭代器链接在一起": { "keywords": [], "children": [], "node_id": "python-5-1373" } }, { "将迭代器压缩在一起": { "keywords": [], "children": [], "node_id": "python-5-1374" } } ], "node_id": "python-4-1425" } }, { "容器数据类型": { "keywords": [], "children": [ { "集合": { "keywords": [], "children": [], "node_id": "python-5-1375" } }, { "命名元组": { "keywords": [], "children": [], "node_id": "python-5-1376" } }, { "有序字典": { "keywords": [], "children": [], "node_id": "python-5-1377" } }, { "带有默认值的字典": { "keywords": [], "children": [], "node_id": "python-5-1378" } } ], "node_id": "python-4-1426" } }, { "导入代码": { "keywords": [], "children": [ { "回退(备用)导入": { "keywords": [], "children": [], "node_id": "python-5-1379" } }, { "从即将发布的版本中导入": { "keywords": [], "children": [], "node_id": "python-5-1380" } }, { "使用__all__进行自定义导入": { "keywords": [], "children": [], "node_id": "python-5-1381" } }, { "相对导入": { "keywords": [], "children": [], "node_id": "python-5-1382" } }, { "__import__函数": { "keywords": [], "children": [], "node_id": "python-5-1383" } }, { "importlib模块": { "keywords": [], "children": [], "node_id": "python-5-1384" } } ], "node_id": "python-4-1427" } }, { "令人兴奋的Python扩展:NIST的随机数信标": { "keywords": [], "children": [ { "如何安装NIST信标库": { "keywords": [], "children": [], "node_id": "python-5-1385" } }, { "示例:获取值": { "keywords": [], "children": [], "node_id": "python-5-1386" } }, { "示例:模拟抛硬币并记录每次正反面的结果": { "keywords": [], "children": [], "node_id": "python-5-1387" } }, { "安装Pandas和matplotlib": { "keywords": [], "children": [], "node_id": "python-5-1388" } }, { "创建文本文件": { "keywords": [], "children": [], "node_id": "python-5-1389" } }, { "使用Pandas显示数据": { "keywords": [], "children": [], "node_id": "python-5-1390" } }, { "进行一些数据分析": { "keywords": [], "children": [], "node_id": "python-5-1391" } }, { "使用matplotlib进行绘图": { "keywords": [], "children": [], "node_id": "python-5-1392" } }, { "图表的类型": { "keywords": [], "children": [], "node_id": "python-5-1393" } }, { "安装Scrapy": { "keywords": [], "children": [], "node_id": "python-5-1394" } }, { "运行Scrapy": { "keywords": [], "children": [], "node_id": "python-5-1395" } }, { "使用Scrapy获取Web数据": { "keywords": [], "children": [], "node_id": "python-5-1396" } }, { "通过Scrapy浏览网页": { "keywords": [], "children": [], "node_id": "python-5-1397" } }, { "shell选项": { "keywords": [], "children": [], "node_id": "python-5-1398" } }, { "安装Beautiful Soup": { "keywords": [], "children": [], "node_id": "python-5-1399" } }, { "使用Beautiful Soup": { "keywords": [], "children": [], "node_id": "python-5-1400" } }, { "如何安装feedparser库": { "keywords": [], "children": [], "node_id": "python-5-1401" } }, { "如何使用feedparser库": { "keywords": [], "children": [], "node_id": "python-5-1402" } }, { "安装NumPy": { "keywords": [], "children": [], "node_id": "python-5-1403" } }, { "使用NumPy": { "keywords": [], "children": [], "node_id": "python-5-1404" } }, { "使用NumPy数组": { "keywords": [], "children": [], "node_id": "python-5-1405" } }, { "统计度量": { "keywords": [], "children": [], "node_id": "python-5-1406" } }, { "如何安装Pillow库": { "keywords": [], "children": [], "node_id": "python-5-1407" } }, { "图像显示:确定文件的大小和类型并显示": { "keywords": [], "children": [], "node_id": "python-5-1408" } }, { "图像处理:裁剪图像的一部分": { "keywords": [], "children": [], "node_id": "python-5-1409" } }, { "随机数": { "keywords": [], "children": [], "node_id": "python-5-1410" } }, { "密码生成器": { "keywords": [], "children": [], "node_id": "python-5-1411" } } ], "node_id": "python-4-1428" } } ] } }, { "函数": { "node_id": "python-3-9", "keywords": [], "children": [ { "函数定义def": { "keywords": [], "children": [], "node_id": "python-4-38" } }, { "参数var": { "keywords": [], "children": [], "node_id": "python-4-39" } }, { "返回值return": { "keywords": [], "children": [], "node_id": "python-4-40" } }, { "参数传递": { "keywords": [], "children": [], "node_id": "python-4-41" } }, { "函数调用": { "keywords": [], "children": [], "node_id": "python-4-42" } }, { "函数递归": { "keywords": [], "children": [], "node_id": "python-4-43" } }, { "函数编写风格": { "keywords": [], "children": [], "node_id": "python-4-44" } }, { "调用函数": { "keywords": [], "children": [], "node_id": "python-4-45" } }, { "函数的参数": { "keywords": [], "children": [], "node_id": "python-4-46" } }, { "递归函数": { "keywords": [], "children": [], "node_id": "python-4-47" } }, { "None值": { "keywords": [], "children": [], "node_id": "python-4-48" } }, { "调用栈": { "keywords": [], "children": [], "node_id": "python-4-49" } }, { "局部和全局作用域": { "keywords": [], "children": [ { "局部变量不能在全局作用域内使用": { "keywords": [], "children": [], "node_id": "python-5-25" } }, { "局部作用域不能使用其他局部作用域内的变量": { "keywords": [], "children": [], "node_id": "python-5-26" } }, { "全局变量可以在局部作用域中读取": { "keywords": [], "children": [], "node_id": "python-5-27" } } ], "node_id": "python-4-50" } }, { "异常处理": { "keywords": [], "children": [], "node_id": "python-4-51" } }, { "把函数视作对象": { "keywords": [], "children": [], "node_id": "python-4-52" } }, { "可调用对象": { "keywords": [], "children": [], "node_id": "python-4-53" } }, { "用户定义的可调用类型": { "keywords": [], "children": [], "node_id": "python-4-54" } }, { "函数内省": { "keywords": [], "children": [], "node_id": "python-4-55" } }, { "从定位参数到仅限关键字参数": { "keywords": [], "children": [], "node_id": "python-4-56" } }, { "获取关于参数的信息": { "keywords": [], "children": [], "node_id": "python-4-57" } }, { "支持函数式编程的包": { "keywords": [], "children": [], "node_id": "python-4-58" } }, { "传递实参": { "keywords": [], "children": [ { "位置实参": { "keywords": [], "children": [], "node_id": "python-5-28" } }, { "关键字实参": { "keywords": [], "children": [], "node_id": "python-5-29" } }, { "默认值": { "keywords": [], "children": [], "node_id": "python-5-30" } }, { "等效的函数调用": { "keywords": [], "children": [], "node_id": "python-5-31" } }, { "避免实参错误": { "keywords": [], "children": [], "node_id": "python-5-32" } } ], "node_id": "python-4-59" } }, { "返回值": { "keywords": [], "children": [ { "返回简单值": { "keywords": [], "children": [], "node_id": "python-5-33" } }, { "让实参变成可选的": { "keywords": [], "children": [], "node_id": "python-5-34" } }, { "返回字典": { "keywords": [], "children": [], "node_id": "python-5-35" } } ], "node_id": "python-4-60" } }, { "传递列表": { "keywords": [], "children": [ { "在函数中修改列表": { "keywords": [], "children": [], "node_id": "python-5-36" } }, { "禁止函数修改列表": { "keywords": [], "children": [], "node_id": "python-5-37" } } ], "node_id": "python-4-61" } }, { "传递任意数量的实参": { "keywords": [], "children": [ { "使用任意数量的关键字实参": { "keywords": [], "children": [], "node_id": "python-5-38" } }, { "导入特定的函数": { "keywords": [], "children": [], "node_id": "python-5-39" } }, { "使用as给函数指定别名": { "keywords": [], "children": [], "node_id": "python-5-40" } }, { "使用as给模块指定别名": { "keywords": [], "children": [], "node_id": "python-5-41" } }, { "导入模块中的所有函数": { "keywords": [], "children": [], "node_id": "python-5-42" } } ], "node_id": "python-4-62" } }, { "函数编写指南": { "keywords": [], "children": [], "node_id": "python-4-63" } }, { "编写可接受任意数量参数的函数": { "keywords": [], "children": [], "node_id": "python-4-64" } }, { "编写只接受关键字参数的函数": { "keywords": [], "children": [], "node_id": "python-4-65" } }, { "将元数据信息附加到函数参数上": { "keywords": [], "children": [], "node_id": "python-4-66" } }, { "从函数中返回多个值": { "keywords": [], "children": [], "node_id": "python-4-67" } }, { "定义带有默认参数的函数": { "keywords": [], "children": [], "node_id": "python-4-68" } }, { "定义匿名或内联函数": { "keywords": [], "children": [], "node_id": "python-4-69" } }, { "在匿名函数中绑定变量的值": { "keywords": [], "children": [], "node_id": "python-4-70" } }, { "让带有N个参数的可调用对象以较少的参数形式调用": { "keywords": [], "children": [], "node_id": "python-4-71" } }, { "用函数替代只有单个方法的类": { "keywords": [], "children": [], "node_id": "python-4-72" } }, { "在回调函数中携带额外的状态": { "keywords": [], "children": [], "node_id": "python-4-73" } }, { "内联回调函数": { "keywords": [], "children": [], "node_id": "python-4-74" } }, { "访问定义在闭包内的变量": { "keywords": [], "children": [], "node_id": "python-4-75" } } ] } }, { "类": { "node_id": "python-3-10", "keywords": [], "children": [ { "类定义class": { "keywords": [], "children": [], "node_id": "python-4-76" } }, { "作用域和命名空间": { "keywords": [], "children": [], "node_id": "python-4-77" } }, { "对象": { "keywords": [], "children": [], "node_id": "python-4-78" } }, { "属性和方法": { "keywords": [], "children": [ { "模拟数值类型": { "keywords": [], "children": [], "node_id": "python-5-43" } }, { "字符串表示形式": { "keywords": [], "children": [], "node_id": "python-5-44" } }, { "自定义的布尔值": { "keywords": [], "children": [], "node_id": "python-5-45" } } ], "node_id": "python-4-79" } }, { "类编码风格": { "keywords": [], "children": [], "node_id": "python-4-80" } }, { "初探类": { "keywords": [], "children": [ { "类定义语法": { "keywords": [], "children": [], "node_id": "python-5-46" } }, { "类对象": { "keywords": [], "children": [], "node_id": "python-5-47" } }, { "方法对象": { "keywords": [], "children": [], "node_id": "python-5-48" } } ], "node_id": "python-4-81" } }, { "补充说明": { "keywords": [], "children": [], "node_id": "python-4-82" } }, { "私有变量": { "keywords": [], "children": [], "node_id": "python-4-83" } }, { "生成器表达式": { "keywords": [], "children": [], "node_id": "python-4-84" } }, { "类到底是什么": { "keywords": [], "children": [], "node_id": "python-4-85" } }, { "创建自定义类": { "keywords": [], "children": [], "node_id": "python-4-86" } }, { "再谈隐藏": { "keywords": [], "children": [], "node_id": "python-4-87" } }, { "类的命名空间": { "keywords": [], "children": [], "node_id": "python-4-88" } }, { "指定超类": { "keywords": [], "children": [], "node_id": "python-4-89" } }, { "深入探讨继承": { "keywords": [], "children": [], "node_id": "python-4-90" } }, { "多个超类": { "keywords": [], "children": [], "node_id": "python-4-91" } }, { "接口和内省": { "keywords": [], "children": [ { "Python文化中的接口和协议": { "keywords": [], "children": [], "node_id": "python-5-49" } }, { "Python喜欢序列": { "keywords": [], "children": [], "node_id": "python-5-50" } }, { "使用猴子补丁在运行时实现协议": { "keywords": [], "children": [], "node_id": "python-5-51" } }, { "Alex Martelli的水禽": { "keywords": [], "children": [], "node_id": "python-5-52" } }, { "定义抽象基类的子类": { "keywords": [], "children": [], "node_id": "python-5-53" } }, { "标准库中的抽象基类": { "keywords": [], "children": [], "node_id": "python-5-54" } }, { "定义并使用一个抽象基类": { "keywords": [], "children": [], "node_id": "python-5-55" } }, { "Tombola子类的测试方法": { "keywords": [], "children": [], "node_id": "python-5-56" } }, { "Python使用register的方式": { "keywords": [], "children": [], "node_id": "python-5-57" } }, { "鹅的行为有可能像鸭子": { "keywords": [], "children": [], "node_id": "python-5-58" } } ], "node_id": "python-4-92" } }, { "抽象基类": { "keywords": [], "children": [], "node_id": "python-4-93" } }, { "导入类": { "keywords": [], "children": [ { "导入单个类": { "keywords": [], "children": [], "node_id": "python-5-59" } }, { "在一个模块中存储多个类": { "keywords": [], "children": [], "node_id": "python-5-60" } }, { "从一个模块中导入多个类": { "keywords": [], "children": [], "node_id": "python-5-61" } }, { "导入模块中的所有类": { "keywords": [], "children": [], "node_id": "python-5-62" } }, { "自定义工作流程": { "keywords": [], "children": [], "node_id": "python-5-63" } } ], "node_id": "python-4-94" } }, { "Python标准库": { "keywords": [], "children": [], "node_id": "python-4-95" } } ] } }, { "顺序语句结构": { "node_id": "python-3-11", "keywords": [], "children": [] } }, { "条件和分支": { "node_id": "python-3-12", "keywords": [], "children": [ { "if": { "keywords": [], "children": [ { "if-else语句": { "keywords": [], "children": [], "node_id": "python-5-64" } }, { "if-elif-else结构": { "keywords": [], "children": [], "node_id": "python-5-65" } }, { "省略else代码块": { "keywords": [], "children": [], "node_id": "python-5-66" } }, { "使用if语句处理列表": { "keywords": [], "children": [ { "检查特殊元素": { "keywords": [], "children": [], "node_id": "python-6-16" } }, { "确定列表不是空的": { "keywords": [], "children": [], "node_id": "python-6-17" } } ], "node_id": "python-5-67" } }, { "设置if语句的格式": { "keywords": [], "children": [], "node_id": "python-5-68" } } ], "node_id": "python-4-96" } }, { "elif": { "keywords": [], "children": [], "node_id": "python-4-97" } }, { "else": { "keywords": [], "children": [], "node_id": "python-4-98" } }, { "条件判断": { "keywords": [], "children": [], "node_id": "python-4-99" } }, { "这正是布尔值的用武之地": { "keywords": [], "children": [], "node_id": "python-4-100" } }, { "代码块嵌套": { "keywords": [], "children": [ { "字典列表": { "keywords": [], "children": [], "node_id": "python-5-69" } }, { "在字典中存储列表": { "keywords": [], "children": [], "node_id": "python-5-70" } }, { "在字典中存储字典": { "keywords": [], "children": [], "node_id": "python-5-71" } } ], "node_id": "python-4-101" } }, { "检查是否相等": { "keywords": [], "children": [], "node_id": "python-4-102" } }, { "检查是否相等时忽略大小写": { "keywords": [], "children": [], "node_id": "python-4-103" } }, { "检查是否不相等": { "keywords": [], "children": [], "node_id": "python-4-104" } }, { "数值比较": { "keywords": [], "children": [], "node_id": "python-4-105" } }, { "检查多个条件": { "keywords": [], "children": [], "node_id": "python-4-106" } }, { "检查特定值是否包含在列表中": { "keywords": [], "children": [], "node_id": "python-4-107" } }, { "布尔表达式": { "keywords": [], "children": [], "node_id": "python-4-108" } } ] } }, { "循环": { "node_id": "python-3-13", "keywords": [], "children": [ { "for": { "keywords": [], "children": [], "node_id": "python-4-109" } }, { "while": { "keywords": [], "children": [], "node_id": "python-4-110" } }, { "break": { "keywords": [], "children": [], "node_id": "python-4-111" } }, { "continue": { "keywords": [], "children": [], "node_id": "python-4-112" } }, { "循环判断": { "keywords": [], "children": [], "node_id": "python-4-113" } }, { "迭代字典": { "keywords": [], "children": [], "node_id": "python-4-114" } }, { "一些迭代工具": { "keywords": [], "children": [], "node_id": "python-4-115" } }, { "跳出循环": { "keywords": [], "children": [], "node_id": "python-4-116" } }, { "循环中的else子句": { "keywords": [], "children": [], "node_id": "python-4-117" } } ] } }, { "数据类型": { "node_id": "python-3-14", "keywords": [], "children": [ { "整型": { "keywords": [], "children": [], "node_id": "python-4-118" } }, { "浮点型": { "keywords": [], "children": [], "node_id": "python-4-119" } }, { "布尔型": { "keywords": [], "children": [], "node_id": "python-4-120" } }, { "字符串": { "keywords": [], "children": [ { "单引号字符串以及对引号转义": { "keywords": [], "children": [], "node_id": "python-5-72" } }, { "拼接字符串": { "keywords": [], "children": [], "node_id": "python-5-73" } }, { "字符串表示str和repr": { "keywords": [], "children": [], "node_id": "python-5-74" } }, { "长字符串、原始字符串和字节": { "keywords": [], "children": [], "node_id": "python-5-75" } }, { "字符串基本操作": { "keywords": [], "children": [], "node_id": "python-5-76" } }, { "设置字符串的格式:精简版": { "keywords": [], "children": [ { "替换字段名": { "keywords": [], "children": [], "node_id": "python-6-18" } } ], "node_id": "python-5-77" } }, { "使用方法修改字符串的大小写": { "keywords": [], "children": [], "node_id": "python-5-78" } }, { "使用制表符或换行符来添加空白": { "keywords": [], "children": [], "node_id": "python-5-79" } }, { "删除空白": { "keywords": [], "children": [], "node_id": "python-5-80" } }, { "使用字符串时避免语法错误": { "keywords": [], "children": [], "node_id": "python-5-81" } }, { "字符串编码转换": { "keywords": [], "children": [ { "使用encode方法编码": { "keywords": [], "children": [], "node_id": "python-6-19" } }, { "使用decode方法解码": { "keywords": [], "children": [], "node_id": "python-6-20" } } ], "node_id": "python-5-82" } } ], "node_id": "python-4-121" } }, { "datetime --- 基本的日期和时间类型": { "keywords": [], "children": [], "node_id": "python-4-122" } }, { "zoneinfo --- IANA时区支持": { "keywords": [], "children": [], "node_id": "python-4-123" } }, { "calendar --- 日历相关函数": { "keywords": [], "children": [], "node_id": "python-4-124" } }, { "collections --- 容器数据类型": { "keywords": [], "children": [], "node_id": "python-4-125" } }, { "collections.abc --- 容器的抽象基类": { "keywords": [], "children": [], "node_id": "python-4-126" } }, { "heapq --- 堆队列算法": { "keywords": [], "children": [], "node_id": "python-4-127" } }, { "bisect --- 数组二分查找算法": { "keywords": [], "children": [], "node_id": "python-4-128" } }, { "array --- 高效的数值数组": { "keywords": [], "children": [], "node_id": "python-4-129" } }, { "weakref --- 弱引用": { "keywords": [], "children": [], "node_id": "python-4-130" } }, { "types --- 动态类型创建和内置类型名称": { "keywords": [], "children": [], "node_id": "python-4-131" } }, { "copy --- 浅层 (shallow) 和深层 (deep) 复制操作": { "keywords": [], "children": [], "node_id": "python-4-132" } }, { "pprint --- 数据美化输出": { "keywords": [], "children": [], "node_id": "python-4-133" } }, { "reprlib --- 另一种repr 实现": { "keywords": [], "children": [], "node_id": "python-4-134" } }, { "enum --- 对枚举的支持": { "keywords": [], "children": [], "node_id": "python-4-135" } }, { "graphlib --- Functionality to operate with graph-like structures": { "keywords": [], "children": [], "node_id": "python-4-136" } } ] } }, { "内置类": { "node_id": "python-3-15", "keywords": [], "children": [ { "列表:list": { "keywords": [], "children": [ { "函数list": { "keywords": [], "children": [], "node_id": "python-5-83" } }, { "基本的列表操作": { "keywords": [], "children": [ { "遍历整个列表": { "keywords": [], "children": [ { "深入研究循环": { "keywords": [], "children": [], "node_id": "python-7-0" } }, { "在for循环中执行更多操作": { "keywords": [], "children": [], "node_id": "python-7-1" } }, { "在for循环结束后执行一些操作": { "keywords": [], "children": [], "node_id": "python-7-2" } } ], "node_id": "python-6-21" } }, { "避免缩进错误": { "keywords": [], "children": [ { "忘记缩进": { "keywords": [], "children": [], "node_id": "python-7-3" } }, { "忘记缩进额外的代码行": { "keywords": [], "children": [], "node_id": "python-7-4" } }, { "不必要的缩进": { "keywords": [], "children": [], "node_id": "python-7-5" } }, { "循环后不必要的缩进": { "keywords": [], "children": [], "node_id": "python-7-6" } }, { "遗漏了冒号": { "keywords": [], "children": [], "node_id": "python-7-7" } } ], "node_id": "python-6-22" } }, { "创建数值列表": { "keywords": [], "children": [ { "使用range创建数字列表": { "keywords": [], "children": [], "node_id": "python-7-8" } }, { "对数字列表执行简单的统计计算": { "keywords": [], "children": [], "node_id": "python-7-9" } }, { "列表解析": { "keywords": [], "children": [], "node_id": "python-7-10" } } ], "node_id": "python-6-23" } }, { "设置代码格式": { "keywords": [], "children": [ { "格式设置指南": { "keywords": [], "children": [], "node_id": "python-7-11" } }, { "行长": { "keywords": [], "children": [], "node_id": "python-7-12" } }, { "空行": { "keywords": [], "children": [], "node_id": "python-7-13" } }, { "其他格式设置指南": { "keywords": [], "children": [], "node_id": "python-7-14" } } ], "node_id": "python-6-24" } } ], "node_id": "python-5-84" } }, { "列表方法": { "keywords": [], "children": [], "node_id": "python-5-85" } }, { "列表数据类型": { "keywords": [], "children": [], "node_id": "python-5-86" } }, { "增强的赋值操作": { "keywords": [], "children": [], "node_id": "python-5-87" } }, { "序列数据类型": { "keywords": [], "children": [], "node_id": "python-5-88" } }, { "引用": { "keywords": [], "children": [], "node_id": "python-5-89" } }, { "访问列表元素": { "keywords": [], "children": [], "node_id": "python-5-90" } }, { "索引从0而不是1开始": { "keywords": [], "children": [], "node_id": "python-5-91" } }, { "使用列表中的各个值": { "keywords": [], "children": [], "node_id": "python-5-92" } }, { "遍历切片": { "keywords": [], "children": [], "node_id": "python-5-93" } }, { "复制列表": { "keywords": [], "children": [], "node_id": "python-5-94" } }, { "列表的创建和删除": { "keywords": [], "children": [], "node_id": "python-5-95" } }, { "对列表进行统计计算": { "keywords": [], "children": [], "node_id": "python-5-96" } }, { "对列表进行排序": { "keywords": [], "children": [], "node_id": "python-5-97" } } ], "node_id": "python-4-137" } }, { "字典:dict": { "keywords": [], "children": [ { "访问字典中的值": { "keywords": [], "children": [], "node_id": "python-5-98" } }, { "添加键值对": { "keywords": [], "children": [], "node_id": "python-5-99" } }, { "先创建一个空字典": { "keywords": [], "children": [], "node_id": "python-5-100" } }, { "修改字典中的值": { "keywords": [], "children": [], "node_id": "python-5-101" } }, { "删除键值对": { "keywords": [], "children": [], "node_id": "python-5-102" } }, { "由类似对象组成的字典": { "keywords": [], "children": [], "node_id": "python-5-103" } }, { "使用get来访问值": { "keywords": [], "children": [], "node_id": "python-5-104" } }, { "遍历字典": { "keywords": [], "children": [ { "遍历所有键值对": { "keywords": [], "children": [], "node_id": "python-6-25" } }, { "遍历字典中的所有键": { "keywords": [], "children": [], "node_id": "python-6-26" } }, { "按特定顺序遍历字典中的所有键": { "keywords": [], "children": [], "node_id": "python-6-27" } }, { "遍历字典中的所有值": { "keywords": [], "children": [], "node_id": "python-6-28" } } ], "node_id": "python-5-105" } }, { "访问字典": { "keywords": [], "children": [], "node_id": "python-5-106" } }, { "字典推导式": { "keywords": [], "children": [], "node_id": "python-5-107" } } ], "node_id": "python-4-138" } }, { "元组:tuple": { "keywords": [], "children": [ { "定义元组": { "keywords": [], "children": [], "node_id": "python-5-108" } }, { "遍历元组中的所有值": { "keywords": [], "children": [], "node_id": "python-5-109" } }, { "修改元组变量": { "keywords": [], "children": [], "node_id": "python-5-110" } }, { "访问元组元素": { "keywords": [], "children": [], "node_id": "python-5-111" } }, { "修改元组": { "keywords": [], "children": [], "node_id": "python-5-112" } }, { "元组推导式": { "keywords": [], "children": [], "node_id": "python-5-113" } } ], "node_id": "python-4-139" } }, { "集合:set": { "keywords": [], "children": [ { "创建集合": { "keywords": [], "children": [], "node_id": "python-5-114" } }, { "集合的交集、并集和差集运算": { "keywords": [], "children": [], "node_id": "python-5-115" } } ], "node_id": "python-4-140" } }, { "整型:int": { "keywords": [], "children": [], "node_id": "python-4-141" } }, { "字符串:str": { "keywords": [], "children": [], "node_id": "python-4-142" } } ] } }, { "常用内置函数": { "node_id": "python-3-16", "keywords": [], "children": [ { "help": { "keywords": [], "children": [], "node_id": "python-4-143" } }, { "input": { "keywords": [], "children": [], "node_id": "python-4-144" } }, { "print": { "keywords": [], "children": [], "node_id": "python-4-145" } }, { "range": { "keywords": [], "children": [], "node_id": "python-4-146" } }, { "format": { "keywords": [], "children": [], "node_id": "python-4-147" } }, { "len": { "keywords": [], "children": [], "node_id": "python-4-148" } }, { "sorted": { "keywords": [], "children": [], "node_id": "python-4-149" } }, { "open": { "keywords": [], "children": [], "node_id": "python-4-150" } }, { "dir": { "keywords": [], "children": [], "node_id": "python-4-151" } }, { "enumerate/zip": { "keywords": [], "children": [], "node_id": "python-4-152" } }, { "type/isinstance": { "keywords": [], "children": [], "node_id": "python-4-153" } }, { "min/max/sum": { "keywords": [], "children": [], "node_id": "python-4-154" } }, { "abs/round/pow/divmod": { "keywords": [], "children": [], "node_id": "python-4-155" } } ] } } ] } }, { "进阶语法": { "node_id": "python-2-2", "keywords": [], "children": [ { "列表推导式": { "node_id": "python-3-17", "keywords": [], "children": [] } }, { "三元表达式": { "node_id": "python-3-18", "keywords": [], "children": [ { "算术转换": { "keywords": [], "children": [], "node_id": "python-4-156" } }, { "原子": { "keywords": [], "children": [], "node_id": "python-4-157" } }, { "原型": { "keywords": [], "children": [], "node_id": "python-4-158" } }, { "await表达式": { "keywords": [], "children": [], "node_id": "python-4-159" } }, { "幂运算符": { "keywords": [], "children": [], "node_id": "python-4-160" } }, { "一元算术和位运算": { "keywords": [], "children": [], "node_id": "python-4-161" } }, { "二元算术运算符": { "keywords": [], "children": [], "node_id": "python-4-162" } }, { "移位运算": { "keywords": [], "children": [], "node_id": "python-4-163" } }, { "比较运算": { "keywords": [], "children": [], "node_id": "python-4-164" } }, { "布尔运算": { "keywords": [], "children": [], "node_id": "python-4-165" } }, { "赋值表达式": { "keywords": [], "children": [], "node_id": "python-4-166" } }, { "条件表达式": { "keywords": [], "children": [], "node_id": "python-4-167" } }, { "表达式列表": { "keywords": [], "children": [], "node_id": "python-4-168" } }, { "求值顺序": { "keywords": [], "children": [], "node_id": "python-4-169" } }, { "运算符优先级": { "keywords": [], "children": [], "node_id": "python-4-170" } } ] } }, { "断言": { "node_id": "python-3-19", "keywords": [], "children": [] } }, { "with-as": { "node_id": "python-3-20", "keywords": [], "children": [] } }, { "异常捕获预处理": { "node_id": "python-3-21", "keywords": [], "children": [ { "try-catch-finally": { "keywords": [], "children": [], "node_id": "python-4-171" } }, { "异常捕获": { "keywords": [], "children": [], "node_id": "python-4-172" } } ] } }, { "字符串方法": { "node_id": "python-3-22", "keywords": [], "children": [ { "find": { "keywords": [], "children": [], "node_id": "python-4-173" } }, { "index": { "keywords": [], "children": [], "node_id": "python-4-174" } }, { "join": { "keywords": [], "children": [], "node_id": "python-4-175" } }, { "lower": { "keywords": [], "children": [], "node_id": "python-4-176" } }, { "replace": { "keywords": [], "children": [], "node_id": "python-4-177" } }, { "split": { "keywords": [], "children": [], "node_id": "python-4-178" } }, { "strip": { "keywords": [], "children": [], "node_id": "python-4-179" } }, { "translate": { "keywords": [], "children": [], "node_id": "python-4-180" } }, { "upper": { "keywords": [], "children": [], "node_id": "python-4-181" } }, { "center": { "keywords": [], "children": [], "node_id": "python-4-182" } }, { "判断字符串是否满足特定的条件": { "keywords": [], "children": [], "node_id": "python-4-183" } } ] } }, { "lambda函数": { "node_id": "python-3-23", "keywords": [], "children": [ { "迭代器": { "keywords": [], "children": [ { "迭代器协议": { "keywords": [], "children": [], "node_id": "python-5-116" } }, { "从迭代器创建序列": { "keywords": [], "children": [], "node_id": "python-5-117" } } ], "node_id": "python-4-184" } }, { "生成器": { "keywords": [], "children": [ { "创建生成器": { "keywords": [], "children": [], "node_id": "python-5-118" } }, { "递归式生成器": { "keywords": [], "children": [], "node_id": "python-5-119" } }, { "通用生成器": { "keywords": [], "children": [], "node_id": "python-5-120" } }, { "生成器的方法": { "keywords": [], "children": [], "node_id": "python-5-121" } }, { "模拟生成器": { "keywords": [], "children": [], "node_id": "python-5-122" } } ], "node_id": "python-4-185" } }, { "装饰器": { "keywords": [], "children": [], "node_id": "python-4-186" } }, { "闭包": { "keywords": [], "children": [], "node_id": "python-4-187" } } ] } }, { "文件": { "node_id": "python-3-24", "keywords": [], "children": [ { "打开文件": { "keywords": [], "children": [], "node_id": "python-4-188" } }, { "文件基本方法": { "keywords": [], "children": [], "node_id": "python-4-189" } }, { "文件内容迭代": { "keywords": [], "children": [ { "每次一个字符(或字节)": { "keywords": [], "children": [], "node_id": "python-5-123" } }, { "每次一行": { "keywords": [], "children": [], "node_id": "python-5-124" } }, { "读取所有内容": { "keywords": [], "children": [], "node_id": "python-5-125" } }, { "使用fileinput实现延迟行迭代": { "keywords": [], "children": [], "node_id": "python-5-126" } }, { "文件迭代器": { "keywords": [], "children": [], "node_id": "python-5-127" } } ], "node_id": "python-4-190" } }, { "文件的基本方法": { "keywords": [], "children": [ { "读取和写入": { "keywords": [], "children": [], "node_id": "python-5-128" } }, { "使用管道重定向输出": { "keywords": [], "children": [], "node_id": "python-5-129" } }, { "读取和写入行": { "keywords": [], "children": [], "node_id": "python-5-130" } }, { "关闭文件": { "keywords": [], "children": [], "node_id": "python-5-131" } }, { "使用文件的基本方法": { "keywords": [], "children": [], "node_id": "python-5-132" } } ], "node_id": "python-4-191" } } ] } }, { "常用标准库": { "node_id": "python-3-25", "keywords": [], "children": [ { "datetime": { "keywords": [], "children": [], "node_id": "python-4-192" } }, { "json": { "keywords": [], "children": [], "node_id": "python-4-193" } }, { "math": { "keywords": [], "children": [], "node_id": "python-4-194" } }, { "os": { "keywords": [], "children": [], "node_id": "python-4-195" } }, { "random": { "keywords": [], "children": [], "node_id": "python-4-196" } }, { "re": { "keywords": [], "children": [], "node_id": "python-4-197" } }, { "sys": { "keywords": [], "children": [], "node_id": "python-4-198" } }, { "time": { "keywords": [], "children": [], "node_id": "python-4-199" } }, { "urllib": { "keywords": [], "children": [], "node_id": "python-4-200" } }, { "fileinput": { "keywords": [], "children": [], "node_id": "python-4-201" } }, { "其他有趣的标准模块": { "keywords": [], "children": [], "node_id": "python-4-202" } } ] } }, { "字符编码与解码": { "node_id": "python-3-26", "keywords": [], "children": [ { "理解内码和字节码的概念": { "keywords": [], "children": [], "node_id": "python-4-203" } } ] } } ] } }, { "面向对象编程": { "node_id": "python-2-3", "keywords": [], "children": [ { "类和对象的概念": { "node_id": "python-3-27", "keywords": [], "children": [] } }, { "类成员": { "node_id": "python-3-28", "keywords": [], "children": [] } }, { "面向对象三要素": { "node_id": "python-3-29", "keywords": [], "children": [ { "封装": { "keywords": [], "children": [], "node_id": "python-4-204" } }, { "继承": { "keywords": [], "children": [ { "子类的方法__init__": { "keywords": [], "children": [], "node_id": "python-5-133" } }, { "重写父类的方法": { "keywords": [], "children": [], "node_id": "python-5-134" } }, { "模拟实物": { "keywords": [], "children": [], "node_id": "python-5-135" } } ], "node_id": "python-4-205" } }, { "多态": { "keywords": [], "children": [], "node_id": "python-4-206" } } ] } }, { "创建类": { "node_id": "python-3-30", "keywords": [], "children": [] } }, { "抽象类": { "node_id": "python-3-31", "keywords": [], "children": [] } }, { "访问限制": { "node_id": "python-3-32", "keywords": [], "children": [] } }, { "获取对象信息": { "node_id": "python-3-33", "keywords": [], "children": [] } } ] } } ] } }, { "python中阶": { "node_id": "python-1-1", "keywords": [], "children": [ { "基本技能": { "node_id": "python-2-5", "keywords": [], "children": [ { "解析命令行参数": { "node_id": "python-insert-4", "keywords": [], "children": [] } }, { "时间日期处理": { "node_id": "python-3-128", "keywords": [], "children": [ { "time": { "keywords": [], "children": [], "node_id": "python-4-752" } }, { "datetime": { "keywords": [], "children": [], "node_id": "python-4-753" } } ] } }, { "数据文件读写": { "node_id": "python-3-129", "keywords": [], "children": [ { "excel/csv/hdf/netCDF": { "keywords": [], "children": [], "node_id": "python-4-754" } } ] } }, { "数据库操作": { "node_id": "python-3-130", "keywords": [], "children": [ { "数据库概述": { "keywords": [], "children": [], "node_id": "python-4-755" } }, { "数据库安装配置": { "keywords": [], "children": [], "node_id": "python-4-756" } }, { "SQL语句": { "keywords": [], "children": [], "node_id": "python-4-757" } }, { "SQLite": { "keywords": [], "children": [ { "创建数据库文件": { "keywords": [], "children": [], "node_id": "python-5-409" } }, { "操作SQLite": { "keywords": [], "children": [], "node_id": "python-5-410" } } ], "node_id": "python-4-758" } }, { "MySQL": { "keywords": [], "children": [ { "下载安装MySQL": { "keywords": [], "children": [], "node_id": "python-5-411" } }, { "连接数据库": { "keywords": [], "children": [], "node_id": "python-5-412" } }, { "创建数据表": { "keywords": [], "children": [], "node_id": "python-5-413" } }, { "操作MySQL数据表": { "keywords": [], "children": [], "node_id": "python-5-414" } } ], "node_id": "python-4-759" } }, { "MongoDB": { "keywords": [], "children": [], "node_id": "python-4-760" } }, { "数据库编程接口": { "keywords": [], "children": [ { "连接对象": { "keywords": [], "children": [], "node_id": "python-5-415" } }, { "游标对象": { "keywords": [], "children": [], "node_id": "python-5-416" } } ], "node_id": "python-4-761" } } ] } }, { "操作系统和环境": { "node_id": "python-3-131", "keywords": [], "children": [ { "OS/Sys": { "keywords": [], "children": [], "node_id": "python-4-762" } } ] } }, { "源码打包": { "node_id": "python-3-133", "keywords": [], "children": [ { "pyinstaller": { "keywords": [], "children": [], "node_id": "python-4-769" } } ] } }, { "网络编程": { "node_id": "python-3-134", "keywords": [], "children": [ { "网络基础": { "keywords": [], "children": [ { "TCP/IP简介": { "keywords": [], "children": [], "node_id": "python-5-1539" } }, { "UDP简介": { "keywords": [], "children": [], "node_id": "python-5-1540" } }, { "Socket简介": { "keywords": [], "children": [], "node_id": "python-5-1541" } } ], "node_id": "python-4-1484" } }, { "TCP编程": { "keywords": [], "children": [ { "创建TCP服务器": { "keywords": [], "children": [], "node_id": "python-5-1542" } }, { "创建TCP客户端": { "keywords": [], "children": [], "node_id": "python-5-1543" } }, { "执行TCP服务器和客户端": { "keywords": [], "children": [], "node_id": "python-5-1544" } } ], "node_id": "python-4-1485" } }, { "UDP编程": { "keywords": [], "children": [ { "创建UDP服务器": { "keywords": [], "children": [], "node_id": "python-5-1545" } }, { "创建UDP客户端": { "keywords": [], "children": [], "node_id": "python-5-1546" } }, { "执行UDP服务器和客户端": { "keywords": [], "children": [], "node_id": "python-5-1547" } } ], "node_id": "python-4-1486" } } ] } }, { "发送邮件": { "node_id": "python-3-135", "keywords": [], "children": [ { "smtplib": { "keywords": [], "children": [], "node_id": "python-4-788" } } ] } } ] } }, { "Web应用开发": { "node_id": "python-2-6", "keywords": [], "children": [ { "Web开发基础知识": { "node_id": "python-3-136", "keywords": [], "children": [ { "HTML/HTML5/CSS": { "keywords": [], "children": [], "node_id": "python-4-789" } }, { "前端数据库和后台": { "keywords": [], "children": [], "node_id": "python-4-790" } }, { "MVC架构": { "keywords": [], "children": [], "node_id": "python-4-791" } }, { "REST和Ajax": { "keywords": [], "children": [], "node_id": "python-4-792" } } ] } }, { " Django": { "node_id": "python-3-137", "keywords": [], "children": [ { "Django简介": { "keywords": [], "children": [], "node_id": "python-4-793" } }, { "Django安装配置": { "keywords": [], "children": [], "node_id": "python-4-794" } }, { "DTL(Django Template Language)": { "keywords": [], "children": [], "node_id": "python-4-795" } }, { "Django路由定义": { "keywords": [], "children": [], "node_id": "python-4-796" } }, { "Django请求数据解析": { "keywords": [], "children": [], "node_id": "python-4-797" } }, { "Django数据库操作": { "keywords": [], "children": [], "node_id": "python-4-798" } }, { "Django提交表单": { "keywords": [], "children": [], "node_id": "python-4-799" } }, { "Django Rest Framework": { "keywords": [], "children": [], "node_id": "python-4-800" } }, { "部署日志与安全": { "keywords": [], "children": [], "node_id": "python-4-801" } }, { "Django开发案例": { "keywords": [], "children": [], "node_id": "python-4-802" } }, { "Web框架": { "keywords": [], "children": [], "node_id": "python-4-803" } }, { "“Hello World”应用(一个博客)": { "keywords": [], "children": [], "node_id": "python-4-804" } }, { "创建模型来添加数据库服务": { "keywords": [], "children": [ { "设置数据库": { "keywords": [], "children": [], "node_id": "python-5-447" } } ], "node_id": "python-4-805" } }, { "Python应用shell": { "keywords": [], "children": [ { "在Django中使用Python shell": { "keywords": [], "children": [], "node_id": "python-5-448" } }, { "测试数据模型": { "keywords": [], "children": [], "node_id": "python-5-449" } } ], "node_id": "python-4-806" } }, { "Django管理应用": { "keywords": [], "children": [ { "设置admin": { "keywords": [], "children": [], "node_id": "python-5-450" } }, { "使用admin": { "keywords": [], "children": [], "node_id": "python-5-451" } } ], "node_id": "python-4-807" } }, { "创建博客的用户界面": { "keywords": [], "children": [ { "创建模板": { "keywords": [], "children": [], "node_id": "python-5-452" } }, { "创建URL模式": { "keywords": [], "children": [], "node_id": "python-5-453" } }, { "创建视图函数": { "keywords": [], "children": [], "node_id": "python-5-454" } } ], "node_id": "python-4-808" } }, { "改进输出": { "keywords": [], "children": [], "node_id": "python-4-809" } }, { "处理用户输入": { "keywords": [], "children": [ { "添加URLconf项": { "keywords": [], "children": [], "node_id": "python-5-455" } }, { "视图:处理用户输入": { "keywords": [], "children": [], "node_id": "python-5-456" } }, { "跨站点请求伪造": { "keywords": [], "children": [], "node_id": "python-5-457" } } ], "node_id": "python-4-810" } }, { "表单和模型表单": { "keywords": [], "children": [ { "Django表单简介": { "keywords": [], "children": [], "node_id": "python-5-458" } }, { "模型表单示例": { "keywords": [], "children": [], "node_id": "python-5-459" } }, { "使用ModelForm来生成HTML表单": { "keywords": [], "children": [], "node_id": "python-5-460" } }, { "处理ModelForm数据": { "keywords": [], "children": [], "node_id": "python-5-461" } } ], "node_id": "python-4-811" } }, { "视图进阶": { "keywords": [], "children": [], "node_id": "python-4-812" } }, { "*改善外观": { "keywords": [], "children": [], "node_id": "python-4-813" } }, { "*中级Django应用:TweetApprover": { "keywords": [], "children": [ { "安装Twython库": { "keywords": [], "children": [], "node_id": "python-5-462" } }, { "URL结构": { "keywords": [], "children": [], "node_id": "python-5-463" } }, { "数据模型": { "keywords": [], "children": [], "node_id": "python-5-464" } }, { "提交新推文以便审核": { "keywords": [], "children": [], "node_id": "python-5-465" } }, { "审核推文": { "keywords": [], "children": [], "node_id": "python-5-466" } } ], "node_id": "python-4-814" } }, { "资源": { "keywords": [], "children": [], "node_id": "python-4-815" } } ] } }, { " Tornado": { "node_id": "python-3-138", "keywords": [], "children": [ { "Tornado简介": { "keywords": [], "children": [], "node_id": "python-4-816" } }, { "Tornado安装配置": { "keywords": [], "children": [], "node_id": "python-4-817" } }, { "Tornado提交表单": { "keywords": [], "children": [], "node_id": "python-4-818" } }, { "Tornado模板": { "keywords": [], "children": [], "node_id": "python-4-819" } }, { "Tornado数据库操作": { "keywords": [], "children": [], "node_id": "python-4-820" } }, { "Tornado异步Web服务": { "keywords": [], "children": [], "node_id": "python-4-821" } }, { "外部服务认证(auth)": { "keywords": [], "children": [], "node_id": "python-4-822" } }, { "部署日志与安全": { "keywords": [], "children": [], "node_id": "python-4-823" } }, { "Tornado开发案例": { "keywords": [], "children": [], "node_id": "python-4-824" } } ] } }, { " Flask": { "node_id": "python-3-139", "keywords": [], "children": [ { "Flask简介": { "keywords": [], "children": [ { "安装": { "keywords": [], "children": [ { "创建应用目录": { "keywords": [], "children": [], "node_id": "python-6-56" } }, { "虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-57" } }, { "在Python 3中创建虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-58" } }, { "在Python 2中创建虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-59" } }, { "使用虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-60" } }, { "使用pip安装Python包": { "keywords": [], "children": [], "node_id": "python-6-61" } } ], "node_id": "python-5-467" } }, { "应用的基本结构": { "keywords": [], "children": [ { "初始化": { "keywords": [], "children": [], "node_id": "python-6-62" } }, { "路由和视图函数": { "keywords": [], "children": [], "node_id": "python-6-63" } }, { "一个完整的应用": { "keywords": [], "children": [], "node_id": "python-6-64" } }, { "Web开发服务器": { "keywords": [], "children": [], "node_id": "python-6-65" } }, { "动态路由": { "keywords": [], "children": [], "node_id": "python-6-66" } }, { "调试模式": { "keywords": [], "children": [], "node_id": "python-6-67" } }, { "命令行选项": { "keywords": [], "children": [], "node_id": "python-6-68" } }, { "请求–响应循环": { "keywords": [], "children": [ { "应用和请求上下文": { "keywords": [], "children": [], "node_id": "python-7-15" } }, { "请求分派": { "keywords": [], "children": [], "node_id": "python-7-16" } }, { "请求对象": { "keywords": [], "children": [ { "对象显示": { "keywords": [], "children": [], "node_id": "python-8-0" } }, { "有效创建大量对象": { "keywords": [], "children": [], "node_id": "python-8-1" } }, { "由字符串调用对象": { "keywords": [], "children": [], "node_id": "python-8-2" } } ], "node_id": "python-7-17" } }, { "请求钩子": { "keywords": [], "children": [], "node_id": "python-7-18" } } ], "node_id": "python-6-69" } }, { "Flask扩展": { "keywords": [], "children": [], "node_id": "python-6-70" } } ], "node_id": "python-5-468" } }, { "模板": { "keywords": [], "children": [ { "Jinja2模板引擎": { "keywords": [], "children": [ { "渲染模板": { "keywords": [], "children": [], "node_id": "python-7-19" } }, { "变量": { "keywords": [], "children": [ { "匿名函数捕获变量值": { "keywords": [], "children": [], "node_id": "python-8-3" } }, { "访问闭包中定义的变量": { "keywords": [], "children": [], "node_id": "python-8-4" } } ], "node_id": "python-7-20" } }, { "控制结构": { "keywords": [], "children": [], "node_id": "python-7-21" } } ], "node_id": "python-6-71" } }, { "使用Flask-Bootstrap集成Bootstrap": { "keywords": [], "children": [], "node_id": "python-6-72" } }, { "自定义错误页面": { "keywords": [], "children": [], "node_id": "python-6-73" } }, { "链接": { "keywords": [], "children": [], "node_id": "python-6-74" } }, { "静态文件": { "keywords": [], "children": [], "node_id": "python-6-75" } }, { "使用Flask-Moment本地化日期和时间": { "keywords": [], "children": [], "node_id": "python-6-76" } } ], "node_id": "python-5-469" } }, { "Web表单": { "keywords": [], "children": [ { "配置": { "keywords": [], "children": [], "node_id": "python-6-77" } }, { "表单类": { "keywords": [], "children": [], "node_id": "python-5-1569" } }, { "把表单渲染成HTML": { "keywords": [], "children": [], "node_id": "python-5-1570" } }, { "在视图函数中处理表单": { "keywords": [], "children": [], "node_id": "python-6-80" } }, { "重定向和用户会话": { "keywords": [], "children": [], "node_id": "python-6-81" } }, { "闪现消息": { "keywords": [], "children": [], "node_id": "python-6-82" } } ], "node_id": "python-5-470" } }, { "数据库": { "keywords": [], "children": [ { "SQL数据库": { "keywords": [], "children": [], "node_id": "python-6-83" } }, { "NoSQL数据库": { "keywords": [], "children": [], "node_id": "python-6-84" } }, { "使用SQL还是NoSQL": { "keywords": [], "children": [], "node_id": "python-6-85" } }, { "Python数据库框架": { "keywords": [], "children": [], "node_id": "python-6-86" } }, { "使用Flask-SQLAlchemy管理数据库": { "keywords": [], "children": [], "node_id": "python-6-87" } }, { "定义模型": { "keywords": [], "children": [], "node_id": "python-6-88" } }, { "关系": { "keywords": [], "children": [], "node_id": "python-6-89" } }, { "数据库操作": { "keywords": [], "children": [ { "创建表": { "keywords": [], "children": [], "node_id": "python-7-22" } }, { "插入行": { "keywords": [], "children": [], "node_id": "python-7-23" } }, { "修改行": { "keywords": [], "children": [], "node_id": "python-7-24" } }, { "删除行": { "keywords": [], "children": [], "node_id": "python-7-25" } }, { "查询行": { "keywords": [], "children": [], "node_id": "python-7-26" } } ], "node_id": "python-6-90" } }, { "在视图函数中操作数据库": { "keywords": [], "children": [], "node_id": "python-6-91" } }, { "集成Python shell": { "keywords": [], "children": [], "node_id": "python-6-92" } }, { "使用Flask-Migrate实现数据库迁移": { "keywords": [], "children": [ { "创建迁移仓库": { "keywords": [], "children": [], "node_id": "python-7-27" } }, { "创建迁移脚本": { "keywords": [], "children": [], "node_id": "python-7-28" } }, { "更新数据库": { "keywords": [], "children": [], "node_id": "python-7-29" } }, { "添加几个迁移": { "keywords": [], "children": [], "node_id": "python-7-30" } } ], "node_id": "python-6-93" } } ], "node_id": "python-5-471" } }, { "电子邮件": { "keywords": [], "children": [ { "电子邮件系统组件和协议": { "keywords": [], "children": [], "node_id": "python-6-94" } }, { "发送电子邮件": { "keywords": [], "children": [], "node_id": "python-6-95" } }, { "Python和SMTP": { "keywords": [], "children": [], "node_id": "python-6-96" } }, { "smtplib.SMTP类方法": { "keywords": [], "children": [], "node_id": "python-6-97" } }, { "交互式SMTP示例": { "keywords": [], "children": [], "node_id": "python-6-98" } }, { "SMTP的其他内容": { "keywords": [], "children": [], "node_id": "python-6-99" } }, { "接收电子邮件": { "keywords": [], "children": [], "node_id": "python-6-100" } }, { "POP和IMAP": { "keywords": [], "children": [], "node_id": "python-6-101" } }, { "交互式POP3示例": { "keywords": [], "children": [], "node_id": "python-6-102" } }, { "poplib.POP3类方法": { "keywords": [], "children": [], "node_id": "python-6-103" } }, { "客户端程序SMTP和POP3示例": { "keywords": [], "children": [], "node_id": "python-6-104" } }, { "交互式IMAP4示例": { "keywords": [], "children": [], "node_id": "python-6-105" } }, { "imaplib.IMAP4类中的常用方法": { "keywords": [], "children": [], "node_id": "python-6-106" } } ], "node_id": "python-5-472" } }, { "大型应用的结构": { "keywords": [], "children": [ { "配置选项": { "keywords": [], "children": [], "node_id": "python-6-107" } }, { "应用包": { "keywords": [], "children": [ { "使用应用工厂函数": { "keywords": [], "children": [], "node_id": "python-7-31" } }, { "在蓝本中实现应用功能": { "keywords": [], "children": [], "node_id": "python-7-32" } } ], "node_id": "python-6-108" } }, { "应用脚本": { "keywords": [], "children": [], "node_id": "python-6-109" } }, { "需求文件": { "keywords": [], "children": [], "node_id": "python-6-110" } }, { "单元测试": { "keywords": [], "children": [ { "blog应用的代码审查": { "keywords": [], "children": [], "node_id": "python-7-33" } } ], "node_id": "python-6-111" } }, { "创建数据库": { "keywords": [], "children": [], "node_id": "python-6-112" } }, { "运行应用": { "keywords": [], "children": [], "node_id": "python-6-113" } } ], "node_id": "python-5-473" } } ], "node_id": "python-4-825" } }, { "Flask安装配置": { "keywords": [], "children": [], "node_id": "python-4-826" } }, { "Flask实现HTTP请求与响应": { "keywords": [], "children": [], "node_id": "python-4-827" } }, { "Flask cookie与session": { "keywords": [], "children": [], "node_id": "python-4-828" } }, { "Flask模板": { "keywords": [], "children": [], "node_id": "python-4-829" } }, { "Flask提交表单": { "keywords": [], "children": [], "node_id": "python-4-830" } }, { "Flask数据库操作": { "keywords": [], "children": [], "node_id": "python-4-831" } }, { "Bootstrap-Flask": { "keywords": [], "children": [], "node_id": "python-4-832" } }, { "Flask开发REST Web服务": { "keywords": [], "children": [], "node_id": "python-4-833" } }, { "部署日志与安全": { "keywords": [], "children": [], "node_id": "python-4-834" } }, { "Flask开发案例": { "keywords": [], "children": [], "node_id": "python-4-835" } } ] } } ] } }, { "网络爬虫": { "node_id": "python-2-7", "keywords": [], "children": [ { "urllib": { "node_id": "python-3-147", "keywords": [], "children": [ { "处理异常": { "keywords": [], "children": [], "node_id": "python-4-868" } }, { "解析链接": { "keywords": [], "children": [], "node_id": "python-4-869" } }, { "分析Robots协议": { "keywords": [], "children": [], "node_id": "python-4-870" } } ] } }, { "正则表达式": { "node_id": "python-3-148", "keywords": [], "children": [ { "RE(Regular Expression )": { "keywords": [], "children": [], "node_id": "python-4-871" } }, { "基础语法": { "keywords": [], "children": [], "node_id": "python-4-872" } }, { "标签匹配常用规则": { "keywords": [], "children": [], "node_id": "python-4-873" } }, { "简介/动机": { "keywords": [], "children": [], "node_id": "python-4-874" } }, { "特殊符号和字符": { "keywords": [], "children": [ { "使用择一匹配符号匹配多个正则表达式模式": { "keywords": [], "children": [], "node_id": "python-5-526" } }, { "匹配任意单个字符": { "keywords": [], "children": [], "node_id": "python-5-527" } }, { "从字符串起始或者结尾或者单词边界匹配": { "keywords": [], "children": [], "node_id": "python-5-528" } }, { "创建字符集": { "keywords": [], "children": [], "node_id": "python-5-529" } }, { "限定范围和否定": { "keywords": [], "children": [], "node_id": "python-5-530" } }, { "使用闭包操作符实现存在性和频数匹配": { "keywords": [], "children": [], "node_id": "python-5-531" } }, { "表示字符集的特殊字符": { "keywords": [], "children": [], "node_id": "python-5-532" } }, { "使用圆括号指定分组": { "keywords": [], "children": [], "node_id": "python-5-533" } }, { "扩展表示法": { "keywords": [], "children": [], "node_id": "python-5-534" } } ], "node_id": "python-4-875" } }, { "一些正则表达式示例": { "keywords": [], "children": [], "node_id": "python-4-876" } }, { "更长的正则表达式示例": { "keywords": [], "children": [], "node_id": "python-4-877" } } ] } }, { "Beautiful Soup": { "node_id": "python-3-149", "keywords": [], "children": [ { "Beautiful Soup简介": { "keywords": [], "children": [], "node_id": "python-4-878" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-879" } }, { "Beautiful Soup对象": { "keywords": [], "children": [], "node_id": "python-4-880" } }, { "元素定位": { "keywords": [], "children": [], "node_id": "python-4-881" } }, { "文档树遍历与搜索": { "keywords": [], "children": [], "node_id": "python-4-882" } } ] } }, { "lxml": { "node_id": "python-3-150", "keywords": [], "children": [ { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-883" } }, { "lxml.etree": { "keywords": [], "children": [], "node_id": "python-4-884" } }, { "XPath选择器": { "keywords": [], "children": [], "node_id": "python-4-885" } }, { "find/findall": { "keywords": [], "children": [], "node_id": "python-4-886" } }, { "CSS选择器": { "keywords": [], "children": [], "node_id": "python-4-887" } }, { "解析HTML": { "keywords": [], "children": [], "node_id": "python-4-888" } } ] } }, { "requests": { "node_id": "python-3-151", "keywords": [], "children": [ { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-889" } }, { "发送请求与HTTP请求类型": { "keywords": [], "children": [], "node_id": "python-4-890" } }, { "传递URL参数": { "keywords": [], "children": [], "node_id": "python-4-891" } }, { "响应内容": { "keywords": [], "children": [], "node_id": "python-4-892" } }, { "定制请求头": { "keywords": [], "children": [], "node_id": "python-4-893" } }, { "响应状态码": { "keywords": [], "children": [], "node_id": "python-4-894" } }, { "Cookie": { "keywords": [], "children": [], "node_id": "python-4-895" } }, { "POST请求": { "keywords": [], "children": [], "node_id": "python-4-896" } }, { "身份认证": { "keywords": [], "children": [], "node_id": "python-4-897" } }, { "基本用法": { "keywords": [], "children": [], "node_id": "python-4-898" } }, { "高级用法": { "keywords": [], "children": [], "node_id": "python-4-899" } } ] } }, { "Selenium": { "node_id": "python-3-152", "keywords": [], "children": [ { "Selenium简介": { "keywords": [], "children": [], "node_id": "python-4-900" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-901" } }, { "单元素定位(find_element_id/name/xpath)": { "keywords": [], "children": [], "node_id": "python-4-902" } }, { "多元素定位(find_elements_id/name/xpath)": { "keywords": [], "children": [], "node_id": "python-4-903" } }, { "常用方法和属性": { "keywords": [], "children": [ { "可管理属性创建": { "keywords": [], "children": [], "node_id": "python-5-535" } }, { "延迟计算属性": { "keywords": [], "children": [], "node_id": "python-5-536" } }, { "属性的代理访问": { "keywords": [], "children": [], "node_id": "python-5-537" } }, { "创建用于计算的属性": { "keywords": [], "children": [], "node_id": "python-5-538" } }, { "为属性添加安全保护机制": { "keywords": [], "children": [], "node_id": "python-5-539" } } ], "node_id": "python-4-904" } }, { "键盘和鼠标操作": { "keywords": [], "children": [], "node_id": "python-4-905" } }, { "WebDriver API": { "keywords": [], "children": [], "node_id": "python-4-906" } }, { "表单交互": { "keywords": [], "children": [], "node_id": "python-4-907" } } ] } }, { "Scrapy框架": { "node_id": "python-3-153", "keywords": [], "children": [ { "Scrapy简介": { "keywords": [], "children": [], "node_id": "python-4-908" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-909" } }, { "Scrapy框架组成": { "keywords": [], "children": [], "node_id": "python-4-910" } }, { "Item Pipeline": { "keywords": [], "children": [], "node_id": "python-4-911" } }, { "Downloader": { "keywords": [], "children": [], "node_id": "python-4-912" } }, { "Spiders": { "keywords": [], "children": [], "node_id": "python-4-913" } }, { "Scheduler": { "keywords": [], "children": [], "node_id": "python-4-914" } }, { "Scrapy框架介绍": { "keywords": [], "children": [], "node_id": "python-4-915" } }, { "Scrapy入门": { "keywords": [], "children": [], "node_id": "python-4-916" } }, { "Selector的用法": { "keywords": [], "children": [], "node_id": "python-4-917" } }, { "Spider的用法": { "keywords": [], "children": [], "node_id": "python-4-918" } }, { "Downloader Middleware的用法": { "keywords": [], "children": [], "node_id": "python-4-919" } }, { "Spider Middleware的用法": { "keywords": [], "children": [], "node_id": "python-4-920" } }, { "Item Pipeline的用法": { "keywords": [], "children": [], "node_id": "python-4-921" } }, { "Scrapy对接Selenium": { "keywords": [], "children": [], "node_id": "python-4-922" } }, { "Scrapy对接Splash": { "keywords": [], "children": [], "node_id": "python-4-923" } }, { "Scrapy通用爬虫": { "keywords": [], "children": [], "node_id": "python-4-924" } }, { "Scrapyrt的使用": { "keywords": [], "children": [], "node_id": "python-4-925" } }, { "Scrapy对接Docker": { "keywords": [], "children": [], "node_id": "python-4-926" } }, { "Scrapy爬取新浪微博": { "keywords": [], "children": [], "node_id": "python-4-927" } } ] } }, { "pyspider框架的使用": { "node_id": "python-3-171", "keywords": [], "children": [ { "pyspider框架介绍": { "keywords": [], "children": [], "node_id": "python-4-976" } }, { "pyspider的基本使用": { "keywords": [], "children": [], "node_id": "python-4-977" } }, { "pyspider用法详解": { "keywords": [], "children": [], "node_id": "python-4-978" } } ] } }, { "验证码处理": { "node_id": "python-3-158", "keywords": [], "children": [ { "自动输入/OCR字符识别": { "keywords": [], "children": [], "node_id": "python-4-934" } } ] } }, { "动态渲染页面爬取": { "node_id": "python-3-166", "keywords": [], "children": [ { "Splash的使用": { "keywords": [], "children": [], "node_id": "python-4-956" } }, { "Splash负载均衡配置": { "keywords": [], "children": [], "node_id": "python-4-957" } }, { "使用Selenium爬取淘宝商品": { "keywords": [], "children": [], "node_id": "python-4-958" } } ] } }, { "模拟登录": { "node_id": "python-3-169", "keywords": [], "children": [ { "模拟登录并爬取GitHub": { "keywords": [], "children": [], "node_id": "python-4-968" } }, { "Cookies池的搭建": { "keywords": [], "children": [], "node_id": "python-4-969" } } ] } } ] } }, { "桌面应用开发": { "node_id": "python-2-8", "keywords": [], "children": [ { "Tkinter": { "node_id": "python-3-174", "keywords": [], "children": [ { "Tkinter简介": { "keywords": [], "children": [], "node_id": "python-4-988" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-989" } }, { "Tkinter模块": { "keywords": [], "children": [], "node_id": "python-4-990" } }, { "Tkinter控件": { "keywords": [], "children": [], "node_id": "python-4-991" } }, { "标准属性": { "keywords": [], "children": [], "node_id": "python-4-992" } }, { "几何管理": { "keywords": [], "children": [], "node_id": "python-4-993" } } ] } }, { "PyQT": { "node_id": "python-3-175", "keywords": [], "children": [ { "PyQT简介": { "keywords": [], "children": [], "node_id": "python-4-994" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-995" } }, { "PyQT模块": { "keywords": [], "children": [], "node_id": "python-4-996" } }, { "PyQT布局管理": { "keywords": [], "children": [], "node_id": "python-4-997" } }, { "PyQT菜单和工具栏": { "keywords": [], "children": [], "node_id": "python-4-998" } }, { "事件和信号": { "keywords": [], "children": [], "node_id": "python-4-999" } }, { "PyQT对话框": { "keywords": [], "children": [], "node_id": "python-4-1000" } }, { "PyQT控件": { "keywords": [], "children": [], "node_id": "python-4-1001" } }, { "PyQT拖拽与绘图": { "keywords": [], "children": [], "node_id": "python-4-1002" } } ] } }, { "WxPython": { "node_id": "python-3-176", "keywords": [], "children": [ { "WxPython简介": { "keywords": [], "children": [], "node_id": "python-4-1003" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-1004" } }, { "WxPython常用类": { "keywords": [], "children": [], "node_id": "python-4-1005" } }, { "WxPython布局管理": { "keywords": [], "children": [], "node_id": "python-4-1006" } }, { "WxPython事件处理": { "keywords": [], "children": [], "node_id": "python-4-1007" } }, { "WxPython对话框": { "keywords": [], "children": [], "node_id": "python-4-1008" } }, { "WxPython组件": { "keywords": [], "children": [], "node_id": "python-4-1009" } }, { "WxPython拖拽处理": { "keywords": [], "children": [], "node_id": "python-4-1010" } }, { "WxPython绘图API": { "keywords": [], "children": [], "node_id": "python-4-1011" } } ] } } ] } } ] } }, { "python高阶": { "node_id": "python-1-2", "keywords": [], "children": [ { "科学计算基础软件包NumPy": { "node_id": "python-2-10", "keywords": [], "children": [ { "NumPy概述": { "node_id": "python-3-195", "keywords": [], "children": [ { "NumPy的前世今生": { "keywords": [], "children": [], "node_id": "python-4-1120" } }, { "NumPy数组vs Python列表": { "keywords": [], "children": [], "node_id": "python-4-1121" } }, { "NumPy数组类型和属性": { "keywords": [], "children": [], "node_id": "python-4-1122" } }, { "维、轴、秩": { "keywords": [], "children": [], "node_id": "python-4-1123" } }, { "广播和矢量化": { "keywords": [], "children": [], "node_id": "python-4-1124" } } ] } }, { "安装配置": { "node_id": "python-3-196", "keywords": [], "children": [] } }, { "创建数组": { "node_id": "python-3-197", "keywords": [], "children": [] } }, { "操作数组": { "node_id": "python-3-198", "keywords": [], "children": [ { "索引": { "keywords": [], "children": [], "node_id": "python-4-1125" } }, { "切片": { "keywords": [], "children": [], "node_id": "python-4-1126" } }, { "改变数组结构": { "keywords": [], "children": [], "node_id": "python-4-1127" } }, { "合并和拆分": { "keywords": [], "children": [], "node_id": "python-4-1128" } }, { "复制": { "keywords": [], "children": [], "node_id": "python-4-1129" } }, { "排序": { "keywords": [], "children": [], "node_id": "python-4-1130" } }, { "查找": { "keywords": [], "children": [], "node_id": "python-4-1131" } }, { "筛选": { "keywords": [], "children": [], "node_id": "python-4-1132" } }, { "数组I/O": { "keywords": [], "children": [], "node_id": "python-4-1133" } } ] } }, { "常用函数": { "node_id": "python-3-199", "keywords": [], "children": [ { "np.nan和np.inf": { "keywords": [], "children": [], "node_id": "python-4-1134" } }, { "函数命名空间": { "keywords": [], "children": [], "node_id": "python-4-1135" } }, { "数学函数": { "keywords": [], "children": [], "node_id": "python-4-1136" } }, { "统计函数": { "keywords": [], "children": [], "node_id": "python-4-1137" } }, { "插值函数": { "keywords": [], "children": [], "node_id": "python-4-1138" } }, { "多项式拟合函数": { "keywords": [], "children": [], "node_id": "python-4-1139" } }, { "自定义广播函数": { "keywords": [], "children": [], "node_id": "python-4-1140" } } ] } }, { "掩码数组": { "node_id": "python-3-200", "keywords": [], "children": [ { "创建掩码数组": { "keywords": [], "children": [], "node_id": "python-4-1141" } }, { "访问掩码数组": { "keywords": [], "children": [], "node_id": "python-4-1142" } } ] } }, { "矩阵对象": { "node_id": "python-3-201", "keywords": [], "children": [ { "创建矩阵": { "keywords": [], "children": [], "node_id": "python-4-1143" } }, { "矩阵特有属性": { "keywords": [], "children": [], "node_id": "python-4-1144" } }, { "矩阵乘法": { "keywords": [], "children": [], "node_id": "python-4-1145" } } ] } }, { "随机抽样子模块": { "node_id": "python-3-202", "keywords": [], "children": [ { "随机数": { "keywords": [], "children": [], "node_id": "python-4-1146" } }, { "随机抽样": { "keywords": [], "children": [], "node_id": "python-4-1147" } }, { "正态分布": { "keywords": [], "children": [], "node_id": "python-4-1148" } }, { "伪随机数的深度思考": { "keywords": [], "children": [], "node_id": "python-4-1149" } } ] } } ] } }, { "结构化数据分析工具Pandas": { "node_id": "python-2-11", "keywords": [], "children": [ { "Pandas概览": { "node_id": "python-3-203", "keywords": [], "children": [ { "Panda的特点": { "keywords": [], "children": [], "node_id": "python-4-1150" } }, { "安装和使用": { "keywords": [], "children": [], "node_id": "python-4-1151" } } ] } }, { "数据结构": { "node_id": "python-3-204", "keywords": [], "children": [ { "索引数组Index": { "keywords": [], "children": [], "node_id": "python-4-1152" } }, { "带标签的一维同构数组Series": { "keywords": [], "children": [], "node_id": "python-4-1153" } }, { "带标签的二维异构表格DataFrame": { "keywords": [], "children": [], "node_id": "python-4-1154" } } ] } }, { "基本操作": { "node_id": "python-3-205", "keywords": [], "children": [ { "数据预览": { "keywords": [], "children": [], "node_id": "python-4-1155" } }, { "数据选择": { "keywords": [], "children": [], "node_id": "python-4-1156" } }, { "改变数据结构": { "keywords": [], "children": [], "node_id": "python-4-1157" } }, { "改变数据类型": { "keywords": [], "children": [], "node_id": "python-4-1158" } }, { "广播与矢量化运算": { "keywords": [], "children": [], "node_id": "python-4-1159" } }, { "行列级广播函数": { "keywords": [], "children": [], "node_id": "python-4-1160" } } ] } }, { "高级应用": { "node_id": "python-3-206", "keywords": [], "children": [ { "分组": { "keywords": [], "children": [], "node_id": "python-4-1161" } }, { "聚合": { "keywords": [], "children": [], "node_id": "python-4-1162" } }, { "层次化索引": { "keywords": [], "children": [], "node_id": "python-4-1163" } }, { "表级广播函数": { "keywords": [], "children": [], "node_id": "python-4-1164" } }, { "日期时间索引对象": { "keywords": [], "children": [], "node_id": "python-4-1165" } }, { "透视表": { "keywords": [], "children": [], "node_id": "python-4-1166" } }, { "数据可视化": { "keywords": [], "children": [], "node_id": "python-4-1167" } }, { "数据I/O": { "keywords": [], "children": [], "node_id": "python-4-1168" } } ] } } ] } }, { "绘图库Matplotlib": { "node_id": "python-2-12", "keywords": [], "children": [ { "安装配置": { "node_id": "python-3-207", "keywords": [], "children": [] } }, { "Matplotlib快速入门": { "node_id": "python-3-208", "keywords": [], "children": [ { "画布": { "keywords": [], "children": [], "node_id": "python-4-1169" } }, { "子图与子图布局": { "keywords": [], "children": [], "node_id": "python-4-1170" } }, { "坐标轴与刻度的名称": { "keywords": [], "children": [], "node_id": "python-4-1171" } }, { "图例和文本标注": { "keywords": [], "children": [], "node_id": "python-4-1172" } }, { "显示和保存": { "keywords": [], "children": [], "node_id": "python-4-1173" } } ] } }, { "图形绘制": { "node_id": "python-3-209", "keywords": [], "children": [ { "曲线图": { "keywords": [], "children": [], "node_id": "python-4-1174" } }, { "散点图": { "keywords": [], "children": [], "node_id": "python-4-1175" } }, { "直方图": { "keywords": [], "children": [], "node_id": "python-4-1176" } }, { "饼图": { "keywords": [], "children": [], "node_id": "python-4-1177" } }, { "箱线图": { "keywords": [], "children": [], "node_id": "python-4-1178" } }, { "绘制图像": { "keywords": [], "children": [], "node_id": "python-4-1179" } }, { "极坐标绘图": { "keywords": [], "children": [], "node_id": "python-4-1180" } } ] } }, { "风格和样式": { "node_id": "python-3-210", "keywords": [], "children": [ { "画布设置": { "keywords": [], "children": [], "node_id": "python-4-1181" } }, { "子图布局": { "keywords": [], "children": [], "node_id": "python-4-1182" } }, { "颜色": { "keywords": [], "children": [], "node_id": "python-4-1183" } }, { "线条和点的样式": { "keywords": [], "children": [], "node_id": "python-4-1184" } }, { "坐标轴": { "keywords": [], "children": [], "node_id": "python-4-1185" } }, { "刻度": { "keywords": [], "children": [], "node_id": "python-4-1186" } }, { "文本": { "keywords": [], "children": [], "node_id": "python-4-1187" } }, { "图例": { "keywords": [], "children": [], "node_id": "python-4-1188" } }, { "网格设置": { "keywords": [], "children": [], "node_id": "python-4-1189" } } ] } } ] } }, { "科学计算工具包SciPy": { "node_id": "python-2-13", "keywords": [], "children": [ { "SciPy概览": { "node_id": "python-3-212", "keywords": [], "children": [] } }, { "安装配置": { "node_id": "python-3-213", "keywords": [], "children": [] } }, { "数据插值": { "node_id": "python-3-214", "keywords": [], "children": [ { "一维插值": { "keywords": [], "children": [], "node_id": "python-4-1192" } }, { "二维插值": { "keywords": [], "children": [], "node_id": "python-4-1193" } }, { "离散数据插值到网格": { "keywords": [], "children": [], "node_id": "python-4-1194" } } ] } }, { "曲线拟合": { "node_id": "python-3-215", "keywords": [], "children": [ { "最小二乘法拟合": { "keywords": [], "children": [], "node_id": "python-4-1195" } }, { "使用curve_fit函数拟合": { "keywords": [], "children": [], "node_id": "python-4-1196" } }, { "多项式拟合函数": { "keywords": [], "children": [], "node_id": "python-4-1197" } } ] } }, { "傅里叶变换": { "node_id": "python-3-216", "keywords": [], "children": [ { "时域到频域的转换": { "keywords": [], "children": [], "node_id": "python-4-1198" } }, { "一维傅里叶变换的应用": { "keywords": [], "children": [], "node_id": "python-4-1199" } }, { "二维傅里叶变换的应用": { "keywords": [], "children": [], "node_id": "python-4-1200" } } ] } }, { "图像处理": { "node_id": "python-3-217", "keywords": [], "children": [ { "图像卷积": { "keywords": [], "children": [], "node_id": "python-4-1201" } }, { "边缘检测": { "keywords": [], "children": [], "node_id": "python-4-1202" } }, { "侵蚀和膨胀": { "keywords": [], "children": [], "node_id": "python-4-1203" } }, { "图像测量": { "keywords": [], "children": [], "node_id": "python-4-1204" } } ] } }, { "积分": { "node_id": "python-3-218", "keywords": [], "children": [ { "对给定函数的定积分": { "keywords": [], "children": [], "node_id": "python-4-1205" } }, { "对给定样本的定积分": { "keywords": [], "children": [], "node_id": "python-4-1206" } }, { "二重定积分": { "keywords": [], "children": [], "node_id": "python-4-1207" } } ] } }, { "非线性方程求解": { "node_id": "python-3-219", "keywords": [], "children": [ { "非线性方程": { "keywords": [], "children": [], "node_id": "python-4-1208" } }, { "非线性方程组": { "keywords": [], "children": [], "node_id": "python-4-1209" } } ] } }, { "线性代数": { "node_id": "python-3-220", "keywords": [], "children": [ { "计算矩阵的行列式": { "keywords": [], "children": [], "node_id": "python-4-1210" } }, { "求解逆矩阵": { "keywords": [], "children": [], "node_id": "python-4-1211" } }, { "计算特征向量和特征值": { "keywords": [], "children": [], "node_id": "python-4-1212" } }, { "矩阵的奇异值分解": { "keywords": [], "children": [], "node_id": "python-4-1213" } }, { "求解线性方程组": { "keywords": [], "children": [], "node_id": "python-4-1214" } } ] } }, { "聚类": { "node_id": "python-3-221", "keywords": [], "children": [ { "k-means聚类": { "keywords": [], "children": [], "node_id": "python-4-1215" } }, { "层次聚类": { "keywords": [], "children": [], "node_id": "python-4-1216" } } ] } }, { "空间计算": { "node_id": "python-3-222", "keywords": [], "children": [ { "空间旋转的表述": { "keywords": [], "children": [], "node_id": "python-4-1217" } }, { "三维旋转": { "keywords": [], "children": [], "node_id": "python-4-1218" } } ] } } ] } }, { "数据分析": { "node_id": "python-2-14", "keywords": [], "children": [ { "CSV文件": { "node_id": "python-3-224", "keywords": [], "children": [ { "筛选特定的行": { "keywords": [], "children": [ { "行中的值满足某个条件": { "keywords": [], "children": [], "node_id": "python-5-814" } }, { "行中的值属于某个集合": { "keywords": [], "children": [], "node_id": "python-5-815" } }, { "行中的值匹配于某个模式/ 正则表达式": { "keywords": [], "children": [], "node_id": "python-5-816" } } ], "node_id": "python-4-1227" } }, { "选取特定的列": { "keywords": [], "children": [ { "列索引值": { "keywords": [], "children": [], "node_id": "python-5-817" } }, { "列标题": { "keywords": [], "children": [], "node_id": "python-5-818" } } ], "node_id": "python-4-1228" } }, { "选取连续的行": { "keywords": [], "children": [], "node_id": "python-4-1229" } }, { "添加标题行": { "keywords": [], "children": [], "node_id": "python-4-1230" } }, { "读取多个CSV文件": { "keywords": [], "children": [], "node_id": "python-4-1231" } }, { "从多个文件中连接数据": { "keywords": [], "children": [], "node_id": "python-4-1232" } }, { "计算每个文件中值的总和与均值": { "keywords": [], "children": [], "node_id": "python-4-1233" } } ] } }, { "Excel文件": { "node_id": "python-3-225", "keywords": [], "children": [ { "内省Excel工作簿": { "keywords": [], "children": [], "node_id": "python-4-1234" } }, { "处理单个工作表": { "keywords": [], "children": [ { "读写Excel文件": { "keywords": [], "children": [], "node_id": "python-5-819" } }, { "筛选特定行": { "keywords": [], "children": [], "node_id": "python-5-820" } }, { "选取特定列": { "keywords": [], "children": [], "node_id": "python-5-821" } } ], "node_id": "python-4-1235" } }, { "读取工作簿中的所有工作表": { "keywords": [], "children": [ { "在所有工作表中筛选特定行": { "keywords": [], "children": [], "node_id": "python-5-822" } }, { "在所有工作表中选取特定列": { "keywords": [], "children": [], "node_id": "python-5-823" } } ], "node_id": "python-4-1236" } }, { "在Excel工作簿中读取一组工作表": { "keywords": [], "children": [], "node_id": "python-4-1237" } }, { "处理多个工作簿": { "keywords": [], "children": [ { "工作表计数以及每个工作表中的行列计数": { "keywords": [], "children": [], "node_id": "python-5-824" } }, { "从多个工作簿中连接数据": { "keywords": [], "children": [], "node_id": "python-5-825" } } ], "node_id": "python-4-1238" } } ] } }, { "时间序列": { "node_id": "python-3-241", "keywords": [], "children": [ { "变化的分类": { "keywords": [], "children": [], "node_id": "python-4-1402" } }, { "包含趋势的序列分析": { "keywords": [], "children": [ { "曲线拟合": { "keywords": [], "children": [], "node_id": "python-5-1324" } }, { "从时间序列中去除趋势": { "keywords": [], "children": [], "node_id": "python-5-1325" } } ], "node_id": "python-4-1403" } }, { "包含周期性的序列数据分析": { "keywords": [], "children": [], "node_id": "python-4-1404" } }, { "从时间序列中去除周期性": { "keywords": [], "children": [ { "滤波": { "keywords": [], "children": [], "node_id": "python-5-1326" } }, { "差分": { "keywords": [], "children": [], "node_id": "python-5-1327" } } ], "node_id": "python-4-1405" } }, { "平稳时间序列": { "keywords": [], "children": [ { "平稳过程": { "keywords": [], "children": [], "node_id": "python-5-1328" } }, { "自相关和相关图": { "keywords": [], "children": [], "node_id": "python-5-1329" } }, { "自协方差和自相关函数的估计": { "keywords": [], "children": [], "node_id": "python-5-1330" } } ], "node_id": "python-4-1406" } }, { "使用Python进行时间序列分析": { "keywords": [], "children": [ { "有用的方法": { "keywords": [], "children": [], "node_id": "python-5-1331" } }, { "自回归过程": { "keywords": [], "children": [], "node_id": "python-5-1332" } }, { "估计AR过程的参数": { "keywords": [], "children": [], "node_id": "python-5-1333" } } ], "node_id": "python-4-1407" } }, { "混合ARMA模型": { "keywords": [], "children": [], "node_id": "python-4-1408" } }, { "集成ARMA模型": { "keywords": [], "children": [], "node_id": "python-4-1409" } }, { "一个特殊的场景": { "keywords": [], "children": [], "node_id": "python-4-1410" } }, { "数据缺失": { "keywords": [], "children": [], "node_id": "python-4-1411" } } ] } } ] } }, { "人工智能": { "node_id": "python-2-15", "keywords": [], "children": [ { "机器学习工具包Scikit-learn": { "node_id": "python-3-245", "keywords": [], "children": [ { "Scikit-learn概览": { "keywords": [], "children": [], "node_id": "python-4-1308" } }, { "安装配置": { "keywords": [], "children": [], "node_id": "python-4-1309" } }, { "数据集": { "keywords": [], "children": [ { "Scikit-learn自带的数据集": { "keywords": [], "children": [], "node_id": "python-5-980" } }, { "样本生成器": { "keywords": [], "children": [], "node_id": "python-5-981" } }, { "加载其他数据集": { "keywords": [], "children": [], "node_id": "python-5-982" } } ], "node_id": "python-4-1310" } }, { "数据预处理Preprocessing": { "keywords": [], "children": [ { "标准化": { "keywords": [], "children": [], "node_id": "python-5-983" } }, { "归一化": { "keywords": [], "children": [], "node_id": "python-5-984" } }, { "正则化": { "keywords": [], "children": [], "node_id": "python-5-985" } }, { "离散化": { "keywords": [], "children": [], "node_id": "python-5-986" } }, { "特征编码": { "keywords": [], "children": [], "node_id": "python-5-987" } }, { "缺失值补全": { "keywords": [], "children": [], "node_id": "python-5-988" } } ], "node_id": "python-4-1311" } }, { "分类Classification": { "keywords": [], "children": [ { "K-近邻分类": { "keywords": [], "children": [], "node_id": "python-5-989" } }, { "贝叶斯分类": { "keywords": [], "children": [], "node_id": "python-5-990" } }, { "决策树分类": { "keywords": [], "children": [], "node_id": "python-5-991" } }, { "支持向量机分类": { "keywords": [], "children": [], "node_id": "python-5-992" } }, { "随机森林分类": { "keywords": [], "children": [], "node_id": "python-5-993" } }, { "集成学习Bagging/Boosting": { "keywords": [], "children": [], "node_id": "python-5-994" } }, { "神经网络模型": { "keywords": [], "children": [], "node_id": "python-5-995" } } ], "node_id": "python-4-1312" } }, { "回归Regression": { "keywords": [], "children": [ { "线性回归": { "keywords": [], "children": [], "node_id": "python-5-996" } }, { "Lasso回归": { "keywords": [], "children": [], "node_id": "python-5-997" } }, { "支持向量机回归": { "keywords": [], "children": [], "node_id": "python-5-998" } }, { "K-近邻回归": { "keywords": [], "children": [], "node_id": "python-5-999" } }, { "决策树回归": { "keywords": [], "children": [], "node_id": "python-5-1000" } }, { "随机森林回归": { "keywords": [], "children": [], "node_id": "python-5-1001" } }, { "逻辑回归": { "keywords": [], "children": [], "node_id": "python-5-1002" } } ], "node_id": "python-4-1313" } }, { "聚类Clustering": { "keywords": [], "children": [ { "K-Means聚类": { "keywords": [], "children": [], "node_id": "python-5-1003" } }, { "均值漂移聚类": { "keywords": [], "children": [], "node_id": "python-5-1004" } }, { "基于密度的空间聚类": { "keywords": [], "children": [], "node_id": "python-5-1005" } }, { "谱聚类": { "keywords": [], "children": [], "node_id": "python-5-1006" } }, { "层次聚类": { "keywords": [], "children": [ { "自下而上的方法": { "keywords": [], "children": [], "node_id": "python-6-174" } }, { "聚类之间的距离": { "keywords": [], "children": [], "node_id": "python-6-175" } }, { "自上而下的方法": { "keywords": [], "children": [], "node_id": "python-6-176" } }, { "图论方法": { "keywords": [], "children": [], "node_id": "python-6-177" } } ], "node_id": "python-5-1007" } } ], "node_id": "python-4-1314" } }, { "成分分解与降维": { "keywords": [], "children": [ { "主成分分析": { "keywords": [], "children": [], "node_id": "python-5-1008" } }, { "因子分析": { "keywords": [], "children": [], "node_id": "python-5-1009" } }, { "截断奇异值分解": { "keywords": [], "children": [], "node_id": "python-5-1010" } }, { "独立成分分析ICA(Independent Component Analysis)": { "keywords": [], "children": [], "node_id": "python-5-1011" } } ], "node_id": "python-4-1315" } }, { "模型评估与参数调优": { "keywords": [], "children": [ { "估计器得分": { "keywords": [], "children": [], "node_id": "python-5-1012" } }, { "交叉验证": { "keywords": [], "children": [], "node_id": "python-5-1013" } }, { "评价指标": { "keywords": [], "children": [], "node_id": "python-5-1014" } }, { "参数调优": { "keywords": [], "children": [], "node_id": "python-5-1015" } }, { "模型持久化": { "keywords": [], "children": [], "node_id": "python-5-1016" } } ], "node_id": "python-4-1316" } } ] } }, { "深度学习": { "node_id": "python-3-246", "keywords": [], "children": [ { "神经网络基础知识": { "keywords": [], "children": [ { "人工智能发展历史": { "keywords": [], "children": [], "node_id": "python-5-1017" } }, { "神经元": { "keywords": [], "children": [], "node_id": "python-5-1018" } }, { "BP神经网络": { "keywords": [], "children": [], "node_id": "python-5-1019" } }, { "梯度下降": { "keywords": [], "children": [], "node_id": "python-5-1020" } }, { "激励函数": { "keywords": [], "children": [], "node_id": "python-5-1021" } }, { "过拟合、欠拟合": { "keywords": [], "children": [], "node_id": "python-5-1022" } }, { "优化器Optimizer": { "keywords": [], "children": [], "node_id": "python-5-1023" } }, { "常用开发工具": { "keywords": [], "children": [], "node_id": "python-5-1024" } } ], "node_id": "python-4-1317" } }, { "环境配置": { "keywords": [], "children": [ { "Windows搭建深度学习环境": { "keywords": [], "children": [], "node_id": "python-5-1025" } }, { "Linux搭建深度学习环境": { "keywords": [], "children": [], "node_id": "python-5-1026" } }, { "MacOS搭建深度学习环境": { "keywords": [], "children": [], "node_id": "python-5-1027" } }, { "CPU/GPU环境搭建": { "keywords": [], "children": [], "node_id": "python-5-1028" } } ], "node_id": "python-4-1318" } }, { "Theano": { "keywords": [], "children": [ { "Theano基础知识": { "keywords": [], "children": [], "node_id": "python-5-1029" } }, { "定义Layer": { "keywords": [], "children": [], "node_id": "python-5-1030" } }, { "CNN": { "keywords": [], "children": [], "node_id": "python-5-1031" } }, { "RNN(GRU/LSTM)": { "keywords": [], "children": [], "node_id": "python-5-1032" } }, { "Autoencoder": { "keywords": [], "children": [], "node_id": "python-5-1033" } }, { "神经网络参数保存": { "keywords": [], "children": [], "node_id": "python-5-1034" } }, { "神经网络性能评价": { "keywords": [], "children": [], "node_id": "python-5-1035" } } ], "node_id": "python-4-1319" } }, { "TensorFlow": { "keywords": [], "children": [ { "TensorFlow基础知识": { "keywords": [], "children": [], "node_id": "python-5-1036" } }, { "Tensor": { "keywords": [], "children": [], "node_id": "python-5-1037" } }, { "Session": { "keywords": [], "children": [], "node_id": "python-5-1038" } }, { "Variable": { "keywords": [], "children": [], "node_id": "python-5-1039" } }, { "Placeholder": { "keywords": [], "children": [], "node_id": "python-5-1040" } }, { "Dropout": { "keywords": [], "children": [], "node_id": "python-5-1041" } }, { "Tensorboard": { "keywords": [], "children": [], "node_id": "python-5-1042" } }, { "CNN": { "keywords": [], "children": [], "node_id": "python-5-1043" } }, { "RNN(GRU/LSTM)": { "keywords": [], "children": [], "node_id": "python-5-1044" } }, { "Autoencoder": { "keywords": [], "children": [], "node_id": "python-5-1045" } }, { "GNN": { "keywords": [], "children": [], "node_id": "python-5-1046" } }, { "神经网络参数保存": { "keywords": [], "children": [], "node_id": "python-5-1047" } }, { "神经网络性能评价": { "keywords": [], "children": [], "node_id": "python-5-1048" } } ], "node_id": "python-4-1320" } }, { "Keras": { "keywords": [], "children": [ { "Keras基础语法": { "keywords": [], "children": [], "node_id": "python-5-1049" } }, { "兼容Backend": { "keywords": [], "children": [], "node_id": "python-5-1050" } }, { "函数模型和序列模型": { "keywords": [], "children": [], "node_id": "python-5-1051" } }, { "定义Layer": { "keywords": [], "children": [], "node_id": "python-5-1052" } }, { "CNN": { "keywords": [], "children": [], "node_id": "python-5-1053" } }, { "RNN(GRU/LSTM)": { "keywords": [], "children": [], "node_id": "python-5-1054" } }, { "Autoencoder": { "keywords": [], "children": [], "node_id": "python-5-1055" } }, { "GNN": { "keywords": [], "children": [], "node_id": "python-5-1056" } }, { "迁移学习": { "keywords": [], "children": [], "node_id": "python-5-1057" } }, { "BiLSTM-Attention": { "keywords": [], "children": [], "node_id": "python-5-1058" } }, { "生成对抗网络GAN": { "keywords": [], "children": [], "node_id": "python-5-1059" } }, { "神经网络参数保存": { "keywords": [], "children": [], "node_id": "python-5-1060" } }, { "神经网络性能评价": { "keywords": [], "children": [], "node_id": "python-5-1061" } } ], "node_id": "python-4-1321" } }, { "PyTorch": { "keywords": [], "children": [ { "PyTorch基础知识": { "keywords": [], "children": [], "node_id": "python-5-1062" } }, { "Tensor": { "keywords": [], "children": [], "node_id": "python-5-1063" } }, { "Variable": { "keywords": [], "children": [], "node_id": "python-5-1064" } }, { "定义Layer": { "keywords": [], "children": [], "node_id": "python-5-1065" } }, { "可视化": { "keywords": [], "children": [], "node_id": "python-5-1066" } }, { "CNN(TextCNN)": { "keywords": [], "children": [], "node_id": "python-5-1067" } }, { "RNN(GRU/LSTM)": { "keywords": [], "children": [], "node_id": "python-5-1068" } }, { "Autoencoder": { "keywords": [], "children": [], "node_id": "python-5-1069" } }, { "GNN/GCN": { "keywords": [], "children": [], "node_id": "python-5-1070" } }, { "迁移学习": { "keywords": [], "children": [], "node_id": "python-5-1071" } }, { "生成对抗网络GAN": { "keywords": [], "children": [], "node_id": "python-5-1072" } }, { "神经网络参数保存": { "keywords": [], "children": [], "node_id": "python-5-1073" } }, { "神经网络性能评价": { "keywords": [], "children": [], "node_id": "python-5-1074" } } ], "node_id": "python-4-1322" } }, { "强化学习": { "keywords": [], "children": [ { "强化学习概念": { "keywords": [], "children": [], "node_id": "python-5-1075" } }, { "Q-Learning": { "keywords": [], "children": [], "node_id": "python-5-1076" } }, { "Sarsa": { "keywords": [], "children": [], "node_id": "python-5-1077" } }, { "DQN(Deep Q Network)": { "keywords": [], "children": [], "node_id": "python-5-1078" } }, { "Policy Gradients": { "keywords": [], "children": [], "node_id": "python-5-1079" } }, { "Actor Critic": { "keywords": [], "children": [], "node_id": "python-5-1080" } } ], "node_id": "python-4-1323" } } ] } }, { "计算机视觉": { "node_id": "python-3-247", "keywords": [], "children": [ { "数字图像处理基础": { "keywords": [], "children": [ { "数字图像处理": { "keywords": [], "children": [], "node_id": "python-5-1081" } }, { "图像三要素": { "keywords": [], "children": [], "node_id": "python-5-1082" } }, { "像素及图像类型": { "keywords": [], "children": [], "node_id": "python-5-1083" } }, { "图像信号数字转换": { "keywords": [], "children": [], "node_id": "python-5-1084" } } ], "node_id": "python-4-1324" } }, { "OpenCV基础": { "keywords": [], "children": [ { "安装配置": { "keywords": [], "children": [], "node_id": "python-5-1085" } }, { "OpenCV基础语法": { "keywords": [], "children": [], "node_id": "python-5-1086" } }, { "几何图形绘制": { "keywords": [], "children": [], "node_id": "python-5-1087" } } ], "node_id": "python-4-1325" } }, { "图像处理入门": { "keywords": [], "children": [ { "读取显示图像": { "keywords": [], "children": [], "node_id": "python-5-1088" } }, { "读取修改像素": { "keywords": [], "children": [], "node_id": "python-5-1089" } }, { "创建复制保存图像": { "keywords": [], "children": [], "node_id": "python-5-1090" } }, { "获取图像属性及通道": { "keywords": [], "children": [], "node_id": "python-5-1091" } } ], "node_id": "python-4-1326" } }, { "图像算数与逻辑运算": { "keywords": [], "children": [ { "图像加法运算": { "keywords": [], "children": [], "node_id": "python-5-1092" } }, { "图像减法运算": { "keywords": [], "children": [], "node_id": "python-5-1093" } }, { "图像与运算": { "keywords": [], "children": [], "node_id": "python-5-1094" } }, { "图像或运算": { "keywords": [], "children": [], "node_id": "python-5-1095" } }, { "图像异或运算": { "keywords": [], "children": [], "node_id": "python-5-1096" } }, { "图像非运算": { "keywords": [], "children": [], "node_id": "python-5-1097" } } ], "node_id": "python-4-1327" } }, { "图像几何变换": { "keywords": [], "children": [ { "平移变换": { "keywords": [], "children": [], "node_id": "python-5-1098" } }, { "缩放变换": { "keywords": [], "children": [], "node_id": "python-5-1099" } }, { "旋转变换": { "keywords": [], "children": [], "node_id": "python-5-1100" } }, { "镜像变换": { "keywords": [], "children": [], "node_id": "python-5-1101" } }, { "仿射变换": { "keywords": [], "children": [], "node_id": "python-5-1102" } }, { "透视变换": { "keywords": [], "children": [], "node_id": "python-5-1103" } } ], "node_id": "python-4-1328" } }, { "图像量化与采样": { "keywords": [], "children": [ { "图像量化处理": { "keywords": [], "children": [], "node_id": "python-5-1104" } }, { "图像采样处理": { "keywords": [], "children": [], "node_id": "python-5-1105" } }, { "图像金字塔": { "keywords": [], "children": [], "node_id": "python-5-1106" } }, { "局部马赛克处理": { "keywords": [], "children": [], "node_id": "python-5-1107" } } ], "node_id": "python-4-1329" } }, { "直方图统计": { "keywords": [], "children": [ { "直方图概述": { "keywords": [], "children": [], "node_id": "python-5-1108" } }, { "直方图绘制": { "keywords": [], "children": [], "node_id": "python-5-1109" } }, { "掩膜直方图": { "keywords": [], "children": [], "node_id": "python-5-1110" } }, { "H-S直方图": { "keywords": [], "children": [], "node_id": "python-5-1111" } }, { "直方图对比": { "keywords": [], "children": [], "node_id": "python-5-1112" } } ], "node_id": "python-4-1330" } }, { "图像增强": { "keywords": [], "children": [ { "图像增强": { "keywords": [], "children": [], "node_id": "python-5-1113" } }, { "直方图均衡化": { "keywords": [], "children": [], "node_id": "python-5-1114" } }, { "局部直方图均衡化": { "keywords": [], "children": [], "node_id": "python-5-1115" } }, { "自动色彩均衡化": { "keywords": [], "children": [], "node_id": "python-5-1116" } }, { "图像去雾": { "keywords": [], "children": [], "node_id": "python-5-1117" } } ], "node_id": "python-4-1331" } }, { "图像平滑": { "keywords": [], "children": [ { "图像平滑概述": { "keywords": [], "children": [], "node_id": "python-5-1118" } }, { "均值滤波": { "keywords": [], "children": [], "node_id": "python-5-1119" } }, { "方框滤波": { "keywords": [], "children": [], "node_id": "python-5-1120" } }, { "高斯滤波": { "keywords": [], "children": [], "node_id": "python-5-1121" } }, { "中值滤波": { "keywords": [], "children": [], "node_id": "python-5-1122" } }, { "双边滤波": { "keywords": [], "children": [], "node_id": "python-5-1123" } } ], "node_id": "python-4-1332" } }, { "图像锐化及边缘检测": { "keywords": [], "children": [ { "一阶微分算法、二阶微分算子": { "keywords": [], "children": [], "node_id": "python-5-1124" } }, { "Roberts算子": { "keywords": [], "children": [], "node_id": "python-5-1125" } }, { "Prewitt算子": { "keywords": [], "children": [], "node_id": "python-5-1126" } }, { "Sobel算子": { "keywords": [], "children": [], "node_id": "python-5-1127" } }, { "Laplacian算子": { "keywords": [], "children": [], "node_id": "python-5-1128" } }, { "Scharr算子": { "keywords": [], "children": [], "node_id": "python-5-1129" } }, { "Canny算子": { "keywords": [], "children": [], "node_id": "python-5-1130" } }, { "LOG算子": { "keywords": [], "children": [], "node_id": "python-5-1131" } } ], "node_id": "python-4-1333" } }, { "图像形态学处理": { "keywords": [], "children": [ { "图像腐蚀": { "keywords": [], "children": [], "node_id": "python-5-1132" } }, { "图像膨胀": { "keywords": [], "children": [], "node_id": "python-5-1133" } }, { "图像开运算": { "keywords": [], "children": [], "node_id": "python-5-1134" } }, { "图像闭运算": { "keywords": [], "children": [], "node_id": "python-5-1135" } }, { "图像梯度运算": { "keywords": [], "children": [], "node_id": "python-5-1136" } }, { "图像顶帽运算": { "keywords": [], "children": [], "node_id": "python-5-1137" } }, { "图像底帽运算": { "keywords": [], "children": [], "node_id": "python-5-1138" } } ], "node_id": "python-4-1334" } }, { "图像分割": { "keywords": [], "children": [ { "基于阈值的图像分割": { "keywords": [], "children": [], "node_id": "python-5-1139" } }, { "基于边缘检测的图像分割": { "keywords": [], "children": [], "node_id": "python-5-1140" } }, { "基于纹理背景的图像分割": { "keywords": [], "children": [], "node_id": "python-5-1141" } }, { "基于K-Means聚类的区域分割": { "keywords": [], "children": [], "node_id": "python-5-1142" } }, { "基于均值漂移算法的图像分割": { "keywords": [], "children": [], "node_id": "python-5-1143" } }, { "基于分水岭算法的图像分割": { "keywords": [], "children": [], "node_id": "python-5-1144" } }, { "图像漫水填充分割": { "keywords": [], "children": [], "node_id": "python-5-1145" } }, { "文字区域分割及定位": { "keywords": [], "children": [], "node_id": "python-5-1146" } } ], "node_id": "python-4-1335" } }, { "傅里叶变换": { "keywords": [], "children": [ { "傅里叶变换": { "keywords": [], "children": [], "node_id": "python-5-1147" } }, { "傅里叶逆变换": { "keywords": [], "children": [], "node_id": "python-5-1148" } }, { "高通滤波器": { "keywords": [], "children": [], "node_id": "python-5-1149" } }, { "低通滤波器": { "keywords": [], "children": [], "node_id": "python-5-1150" } } ], "node_id": "python-4-1336" } }, { "霍夫变换": { "keywords": [], "children": [ { "霍夫变换": { "keywords": [], "children": [], "node_id": "python-5-1151" } }, { "霍夫线变换": { "keywords": [], "children": [], "node_id": "python-5-1152" } }, { "霍夫圆变换": { "keywords": [], "children": [], "node_id": "python-5-1153" } } ], "node_id": "python-4-1337" } }, { "图像特效处理": { "keywords": [], "children": [ { "图像毛玻璃特效": { "keywords": [], "children": [], "node_id": "python-5-1154" } }, { "图像浮雕特效": { "keywords": [], "children": [], "node_id": "python-5-1155" } }, { "图像素描特效": { "keywords": [], "children": [], "node_id": "python-5-1156" } }, { "图像怀旧特效": { "keywords": [], "children": [], "node_id": "python-5-1157" } }, { "图像流年特效": { "keywords": [], "children": [], "node_id": "python-5-1158" } }, { "图像滤镜特效": { "keywords": [], "children": [], "node_id": "python-5-1159" } }, { "图像水波特效": { "keywords": [], "children": [], "node_id": "python-5-1160" } }, { "图像卡通特效": { "keywords": [], "children": [], "node_id": "python-5-1161" } } ], "node_id": "python-4-1338" } }, { "图像分类": { "keywords": [], "children": [ { "图像分类概述": { "keywords": [], "children": [], "node_id": "python-5-1162" } }, { "基于机器学习的图像分类": { "keywords": [], "children": [], "node_id": "python-5-1163" } }, { "基于深度学习的图像分类": { "keywords": [], "children": [], "node_id": "python-5-1164" } }, { "LeNet": { "keywords": [], "children": [], "node_id": "python-5-1165" } }, { "VGG": { "keywords": [], "children": [], "node_id": "python-5-1166" } }, { "AlexNet": { "keywords": [], "children": [], "node_id": "python-5-1167" } }, { "ResNet": { "keywords": [], "children": [], "node_id": "python-5-1168" } } ], "node_id": "python-4-1339" } }, { "人脸识别": { "keywords": [], "children": [], "node_id": "python-4-1340" } }, { "目标检测": { "keywords": [], "children": [ { "目标检测概述": { "keywords": [], "children": [], "node_id": "python-5-1169" } }, { "RCNN": { "keywords": [], "children": [], "node_id": "python-5-1170" } }, { "Fast-RCNN": { "keywords": [], "children": [], "node_id": "python-5-1171" } }, { "SPPNet": { "keywords": [], "children": [], "node_id": "python-5-1172" } }, { "Mask-RCNN": { "keywords": [], "children": [], "node_id": "python-5-1173" } }, { "SSD": { "keywords": [], "children": [], "node_id": "python-5-1174" } }, { "YOLO系列算法": { "keywords": [], "children": [], "node_id": "python-5-1175" } } ], "node_id": "python-4-1341" } }, { "深度神经网络概述": { "keywords": [], "children": [ { "创建神经网络块": { "keywords": [], "children": [], "node_id": "python-5-1176" } }, { "TensorFlow介绍": { "keywords": [], "children": [], "node_id": "python-5-1177" } }, { "MNIST数据集介绍": { "keywords": [], "children": [], "node_id": "python-5-1178" } }, { "Keras深度学习库概述": { "keywords": [], "children": [], "node_id": "python-5-1179" } }, { "基于Keras和MNIST的手写数字识别": { "keywords": [], "children": [ { "训练和测试数据的检索": { "keywords": [], "children": [], "node_id": "python-6-178" } }, { "训练数据的可视化": { "keywords": [], "children": [], "node_id": "python-6-179" } }, { "创建神经网络": { "keywords": [], "children": [], "node_id": "python-6-180" } }, { "训练神经网络": { "keywords": [], "children": [], "node_id": "python-6-181" } }, { "测试": { "keywords": [], "children": [], "node_id": "python-6-182" } } ], "node_id": "python-5-1180" } }, { "理解反向传播": { "keywords": [], "children": [], "node_id": "python-5-1181" } } ], "node_id": "python-4-1342" } }, { "卷积神经网络介绍": { "keywords": [], "children": [ { "CNN历史": { "keywords": [], "children": [], "node_id": "python-5-1182" } }, { "卷积神经网络": { "keywords": [], "children": [ { "计算机如何解释图像": { "keywords": [], "children": [], "node_id": "python-6-183" } }, { "编码实现图像可视化": { "keywords": [], "children": [], "node_id": "python-6-184" } }, { "dropout": { "keywords": [], "children": [], "node_id": "python-6-185" } }, { "输入层": { "keywords": [], "children": [], "node_id": "python-6-186" } }, { "卷积层": { "keywords": [], "children": [], "node_id": "python-6-187" } }, { "池化层": { "keywords": [], "children": [], "node_id": "python-6-188" } } ], "node_id": "python-5-1183" } } ], "node_id": "python-4-1343" } }, { "构建CNN并进行性能优化": { "keywords": [], "children": [ { "CNN架构和DNN的缺点": { "keywords": [], "children": [ { "卷积操作": { "keywords": [], "children": [], "node_id": "python-6-189" } }, { "池化、步长和填充操作": { "keywords": [], "children": [], "node_id": "python-6-190" } } ], "node_id": "python-5-1184" } }, { "TensorFlow中的卷积和池化操作": { "keywords": [], "children": [ { "在TensorFlow中应用池化操作": { "keywords": [], "children": [], "node_id": "python-6-191" } }, { "TensorFlow中的卷积操作": { "keywords": [], "children": [], "node_id": "python-6-192" } } ], "node_id": "python-5-1185" } }, { "训练CNN": { "keywords": [], "children": [ { "初始化权重和偏置": { "keywords": [], "children": [], "node_id": "python-6-193" } }, { "正则化": { "keywords": [], "children": [], "node_id": "python-6-194" } }, { "激活函数": { "keywords": [], "children": [], "node_id": "python-6-195" } } ], "node_id": "python-5-1186" } }, { "模型性能优化": { "keywords": [], "children": [ { "隐含层数量": { "keywords": [], "children": [], "node_id": "python-6-196" } }, { "每个隐含层的神经元个数": { "keywords": [], "children": [], "node_id": "python-6-197" } }, { "批标准化": { "keywords": [], "children": [], "node_id": "python-6-198" } }, { "高级正则化及过拟合的避免": { "keywords": [], "children": [], "node_id": "python-6-199" } }, { "运用哪个优化器": { "keywords": [], "children": [], "node_id": "python-6-200" } }, { "内存调优": { "keywords": [], "children": [], "node_id": "python-6-201" } }, { "层的位置调优": { "keywords": [], "children": [], "node_id": "python-6-202" } }, { "综合所有操作创建第二个CNN": { "keywords": [], "children": [], "node_id": "python-6-203" } }, { "数据集描述和预处理": { "keywords": [], "children": [], "node_id": "python-6-204" } }, { "创建CNN模型": { "keywords": [], "children": [], "node_id": "python-6-205" } } ], "node_id": "python-5-1187" } } ], "node_id": "python-4-1344" } }, { "经典的CNN模型架构": { "keywords": [], "children": [ { "ImageNet介绍": { "keywords": [], "children": [], "node_id": "python-5-1188" } }, { "AlexNet架构": { "keywords": [], "children": [], "node_id": "python-5-1189" } }, { "VGGNet架构": { "keywords": [], "children": [], "node_id": "python-5-1190" } }, { "GoogLeNet架构": { "keywords": [], "children": [ { "架构洞察": { "keywords": [], "children": [], "node_id": "python-6-206" } }, { "inception模块": { "keywords": [], "children": [], "node_id": "python-6-207" } } ], "node_id": "python-5-1191" } }, { "ResNet架构": { "keywords": [], "children": [], "node_id": "python-5-1192" } } ], "node_id": "python-4-1345" } }, { "转移学习": { "keywords": [], "children": [ { "特征提取方法": { "keywords": [], "children": [ { "目标数据集较小且与原始训练集相似": { "keywords": [], "children": [], "node_id": "python-6-208" } }, { "目标数据集较小且与原始训练集不同": { "keywords": [], "children": [], "node_id": "python-6-209" } }, { "目标数据集很大且与原始训练集相似": { "keywords": [], "children": [], "node_id": "python-6-210" } }, { "目标数据集很大且与原始训练集不同": { "keywords": [], "children": [], "node_id": "python-6-211" } } ], "node_id": "python-5-1193" } }, { "转移学习示例": { "keywords": [], "children": [], "node_id": "python-5-1194" } }, { "多任务学习": { "keywords": [], "children": [], "node_id": "python-5-1195" } } ], "node_id": "python-4-1346" } }, { "CNN自编码器": { "keywords": [], "children": [ { "自编码器介绍": { "keywords": [], "children": [], "node_id": "python-5-1196" } }, { "卷积自编码器": { "keywords": [], "children": [], "node_id": "python-5-1197" } }, { "应用": { "keywords": [], "children": [], "node_id": "python-5-1198" } } ], "node_id": "python-4-1347" } }, { "GAN:使用CNN生成新图像": { "keywords": [], "children": [ { "Pix2pix:基于GAN的图像翻译": { "keywords": [], "children": [ { "CycleGAN": { "keywords": [], "children": [], "node_id": "python-6-212" } }, { "训练GAN模型": { "keywords": [], "children": [], "node_id": "python-6-213" } } ], "node_id": "python-5-1199" } }, { "GAN的代码示例": { "keywords": [], "children": [ { "计算损失": { "keywords": [], "children": [], "node_id": "python-6-214" } }, { "半监督学习和GAN": { "keywords": [], "children": [], "node_id": "python-6-215" } } ], "node_id": "python-5-1200" } }, { "特征匹配": { "keywords": [], "children": [ { "基于半监督分类的GAN示例": { "keywords": [], "children": [], "node_id": "python-6-216" } }, { "深度卷积GAN": { "keywords": [], "children": [], "node_id": "python-6-217" } } ], "node_id": "python-5-1201" } } ], "node_id": "python-4-1348" } }, { "CNN和视觉模型的注意力机制": { "keywords": [], "children": [ { "图像描述中的注意力机制": { "keywords": [], "children": [], "node_id": "python-5-1202" } }, { "注意力类型": { "keywords": [], "children": [ { "硬注意力": { "keywords": [], "children": [], "node_id": "python-6-218" } }, { "软注意力": { "keywords": [], "children": [], "node_id": "python-6-219" } } ], "node_id": "python-5-1203" } }, { "运用注意力改善视觉模型": { "keywords": [], "children": [ { "视觉CNN模型次优性能的原因": { "keywords": [], "children": [], "node_id": "python-6-220" } }, { "循环视觉注意力模型": { "keywords": [], "children": [], "node_id": "python-6-221" } } ], "node_id": "python-5-1204" } }, { "参考文献": { "keywords": [], "children": [], "node_id": "python-5-1205" } } ], "node_id": "python-4-1349" } } ] } }, { "自然语言处理": { "node_id": "python-3-248", "keywords": [], "children": [ { "自然语言处理概览": { "keywords": [], "children": [ { "自然语言处理的基本概念": { "keywords": [], "children": [], "node_id": "python-5-1206" } }, { "自然语言处理的面临困难": { "keywords": [], "children": [], "node_id": "python-5-1207" } }, { "自然语言处理的研究现状": { "keywords": [], "children": [], "node_id": "python-5-1208" } } ], "node_id": "python-4-1350" } }, { "预备知识": { "keywords": [], "children": [ { "概率论基础知识": { "keywords": [], "children": [], "node_id": "python-5-1209" } }, { "最大似然估计": { "keywords": [], "children": [], "node_id": "python-5-1210" } }, { "隐马尔可夫模型": { "keywords": [], "children": [], "node_id": "python-5-1211" } }, { "贝叶斯网络": { "keywords": [], "children": [], "node_id": "python-5-1212" } }, { "条件概率分布": { "keywords": [], "children": [], "node_id": "python-5-1213" } }, { "信息论基础知识": { "keywords": [], "children": [], "node_id": "python-5-1214" } }, { "熵": { "keywords": [], "children": [], "node_id": "python-5-1215" } }, { "困惑度": { "keywords": [], "children": [], "node_id": "python-5-1216" } }, { "互信息": { "keywords": [], "children": [], "node_id": "python-5-1217" } }, { "神经网络基础知识": { "keywords": [], "children": [], "node_id": "python-5-1218" } }, { "CRF": { "keywords": [], "children": [], "node_id": "python-5-1219" } }, { "BiLSTM+Attention": { "keywords": [], "children": [], "node_id": "python-5-1220" } }, { "迁移学习": { "keywords": [], "children": [], "node_id": "python-5-1221" } }, { "常用语料库和知识库": { "keywords": [], "children": [], "node_id": "python-5-1222" } } ], "node_id": "python-4-1351" } }, { "jieba": { "keywords": [], "children": [ { "jieba概述": { "keywords": [], "children": [], "node_id": "python-5-1223" } }, { "jieba分词": { "keywords": [], "children": [], "node_id": "python-5-1224" } }, { "jieba添加自定义词典": { "keywords": [], "children": [], "node_id": "python-5-1225" } }, { "jieba词性标注": { "keywords": [], "children": [], "node_id": "python-5-1226" } }, { "jieba关键词抽取": { "keywords": [], "children": [], "node_id": "python-5-1227" } } ], "node_id": "python-4-1352" } }, { "nltk": { "keywords": [], "children": [ { "nltk概述": { "keywords": [], "children": [], "node_id": "python-5-1228" } }, { "nltk字符串处理": { "keywords": [], "children": [], "node_id": "python-5-1229" } }, { "nltk词性标注": { "keywords": [], "children": [], "node_id": "python-5-1230" } }, { "nltk词干提取": { "keywords": [], "children": [], "node_id": "python-5-1231" } }, { "nltk命名实体识别": { "keywords": [], "children": [], "node_id": "python-5-1232" } }, { "nltk分块处理": { "keywords": [], "children": [], "node_id": "python-5-1233" } }, { "nltk文本分类": { "keywords": [], "children": [], "node_id": "python-5-1234" } }, { "nltk情感分析": { "keywords": [], "children": [], "node_id": "python-5-1235" } } ], "node_id": "python-4-1353" } }, { "Genism": { "keywords": [], "children": [ { "TF-IDF": { "keywords": [], "children": [], "node_id": "python-5-1236" } }, { "similarities": { "keywords": [], "children": [], "node_id": "python-5-1237" } }, { "LSA": { "keywords": [], "children": [], "node_id": "python-5-1238" } }, { "LDA": { "keywords": [], "children": [], "node_id": "python-5-1239" } }, { "Word2vec": { "keywords": [], "children": [], "node_id": "python-5-1240" } } ], "node_id": "python-4-1354" } }, { "词法分析": { "keywords": [], "children": [ { "分词(英文分词/中文分词)": { "keywords": [], "children": [], "node_id": "python-5-1241" } }, { "词干提取": { "keywords": [], "children": [], "node_id": "python-5-1242" } }, { "词形还原": { "keywords": [], "children": [], "node_id": "python-5-1243" } }, { "词性标注": { "keywords": [], "children": [], "node_id": "python-5-1244" } }, { "命名实体识别": { "keywords": [], "children": [], "node_id": "python-5-1245" } } ], "node_id": "python-4-1355" } }, { "句法分析": { "keywords": [], "children": [ { "短语结构分析": { "keywords": [], "children": [], "node_id": "python-5-1246" } }, { "依存句法分析": { "keywords": [], "children": [], "node_id": "python-5-1247" } } ], "node_id": "python-4-1356" } }, { "语义分析": { "keywords": [], "children": [ { "命名实体消歧": { "keywords": [], "children": [], "node_id": "python-5-1248" } }, { "指代消解": { "keywords": [], "children": [], "node_id": "python-5-1249" } }, { "语义角色标注": { "keywords": [], "children": [], "node_id": "python-5-1250" } }, { "语义关系抽取": { "keywords": [], "children": [], "node_id": "python-5-1251" } }, { "语义依存分析": { "keywords": [], "children": [], "node_id": "python-5-1252" } }, { "抽象语义表示": { "keywords": [], "children": [], "node_id": "python-5-1253" } } ], "node_id": "python-4-1357" } }, { "词嵌入": { "keywords": [], "children": [ { "Word2Vec": { "keywords": [], "children": [], "node_id": "python-5-1254" } }, { "GloVe": { "keywords": [], "children": [], "node_id": "python-5-1255" } }, { "fastText": { "keywords": [], "children": [], "node_id": "python-5-1256" } }, { "ELMo": { "keywords": [], "children": [], "node_id": "python-5-1257" } }, { "BERT": { "keywords": [], "children": [], "node_id": "python-5-1258" } }, { "XLNet": { "keywords": [], "children": [], "node_id": "python-5-1259" } } ], "node_id": "python-4-1358" } }, { "文本挖掘": { "keywords": [], "children": [ { "文本相似度计算": { "keywords": [], "children": [], "node_id": "python-5-1260" } }, { "文本聚类": { "keywords": [], "children": [], "node_id": "python-5-1261" } }, { "文本分类": { "keywords": [], "children": [], "node_id": "python-5-1262" } }, { "文本摘要": { "keywords": [], "children": [], "node_id": "python-5-1263" } } ], "node_id": "python-4-1359" } }, { "情感分析": { "keywords": [], "children": [ { "基于情感词典的情感分析": { "keywords": [], "children": [], "node_id": "python-5-1264" } }, { "基于深度学习的情感分析": { "keywords": [], "children": [], "node_id": "python-5-1265" } } ], "node_id": "python-4-1360" } }, { "主题模型": { "keywords": [], "children": [ { "LSA": { "keywords": [], "children": [], "node_id": "python-5-1266" } }, { "LDA": { "keywords": [], "children": [], "node_id": "python-5-1267" } } ], "node_id": "python-4-1361" } }, { "机器翻译": { "keywords": [], "children": [ { "IBM统计翻译模型": { "keywords": [], "children": [], "node_id": "python-5-1268" } }, { "短语抽取": { "keywords": [], "children": [], "node_id": "python-5-1269" } }, { "语言模型": { "keywords": [], "children": [], "node_id": "python-5-1270" } }, { "GNMT": { "keywords": [], "children": [], "node_id": "python-5-1271" } }, { "Seq2Seq": { "keywords": [], "children": [], "node_id": "python-5-1272" } }, { "Transformer": { "keywords": [], "children": [], "node_id": "python-5-1273" } } ], "node_id": "python-4-1362" } }, { "语言模型": { "keywords": [], "children": [ { "n-gram": { "keywords": [], "children": [], "node_id": "python-5-1274" } }, { "Pitman-Yor过程模型": { "keywords": [], "children": [], "node_id": "python-5-1275" } }, { "AWD-LSTM": { "keywords": [], "children": [], "node_id": "python-5-1276" } }, { "Transformer-XL": { "keywords": [], "children": [], "node_id": "python-5-1277" } }, { "Gated CNN": { "keywords": [], "children": [], "node_id": "python-5-1278" } } ], "node_id": "python-4-1363" } }, { "智能问答": { "keywords": [], "children": [ { "基于知识的问答": { "keywords": [], "children": [], "node_id": "python-5-1279" } }, { "基于检索的问答": { "keywords": [], "children": [], "node_id": "python-5-1280" } }, { "阅读理解": { "keywords": [], "children": [], "node_id": "python-5-1281" } }, { "完形填空": { "keywords": [], "children": [], "node_id": "python-5-1282" } } ], "node_id": "python-4-1364" } }, { "智能对话": { "keywords": [], "children": [ { "对话行为分类": { "keywords": [], "children": [], "node_id": "python-5-1283" } }, { "对话状态跟踪": { "keywords": [], "children": [], "node_id": "python-5-1284" } }, { "检索式聊天机器人": { "keywords": [], "children": [], "node_id": "python-5-1285" } }, { "生成式聊天机器人": { "keywords": [], "children": [], "node_id": "python-5-1286" } }, { "意图识别": { "keywords": [], "children": [], "node_id": "python-5-1287" } }, { "槽填充(Slot Filling)": { "keywords": [], "children": [], "node_id": "python-5-1288" } } ], "node_id": "python-4-1365" } }, { "语音识别": { "keywords": [], "children": [ { "傅里叶变换": { "keywords": [], "children": [], "node_id": "python-5-1289" } }, { "声学模型": { "keywords": [], "children": [], "node_id": "python-5-1290" } }, { "隐马尔可夫模型": { "keywords": [], "children": [], "node_id": "python-5-1291" } }, { "CNN": { "keywords": [], "children": [], "node_id": "python-5-1292" } }, { "LSTM-HMM": { "keywords": [], "children": [], "node_id": "python-5-1293" } }, { "神经网络语言模型": { "keywords": [], "children": [], "node_id": "python-5-1294" } }, { "MFCC": { "keywords": [], "children": [], "node_id": "python-5-1295" } } ], "node_id": "python-4-1366" } }, { "知识图谱": { "keywords": [], "children": [ { "知识图谱构建": { "keywords": [], "children": [], "node_id": "python-5-1296" } }, { "知识计算": { "keywords": [], "children": [], "node_id": "python-5-1297" } }, { "知识存储": { "keywords": [], "children": [], "node_id": "python-5-1298" } }, { "知识服务与应用": { "keywords": [], "children": [], "node_id": "python-5-1299" } } ], "node_id": "python-4-1367" } } ] } }, { "基于Python的监督学习": { "node_id": "python-3-251", "keywords": [], "children": [ { "使用Python实现降维": { "keywords": [], "children": [ { "相关性分析": { "keywords": [], "children": [], "node_id": "python-5-1316" } } ], "node_id": "python-4-1385" } }, { "使用Python进行分类": { "keywords": [], "children": [], "node_id": "python-4-1386" } }, { "决策树": { "keywords": [], "children": [ { "哪个属性优先": { "keywords": [], "children": [], "node_id": "python-5-1317" } }, { "随机森林分类器": { "keywords": [], "children": [], "node_id": "python-5-1318" } } ], "node_id": "python-4-1387" } }, { "朴素贝叶斯分类器": { "keywords": [], "children": [], "node_id": "python-4-1388" } }, { "支持向量机": { "keywords": [], "children": [], "node_id": "python-4-1389" } }, { "最近邻分类器": { "keywords": [], "children": [], "node_id": "python-4-1390" } }, { "情绪分析": { "keywords": [], "children": [], "node_id": "python-4-1391" } }, { "图像识别": { "keywords": [], "children": [], "node_id": "python-4-1392" } }, { "使用Python进行回归": { "keywords": [], "children": [ { "最小二乘估计": { "keywords": [], "children": [], "node_id": "python-5-1319" } } ], "node_id": "python-4-1393" } }, { "分类和回归": { "keywords": [], "children": [], "node_id": "python-4-1394" } }, { "使模型高估或低估": { "keywords": [], "children": [], "node_id": "python-4-1395" } }, { "处理分类型数据": { "keywords": [], "children": [], "node_id": "python-4-1396" } } ] } }, { "无监督学习—聚类": { "node_id": "python-3-252", "keywords": [], "children": [ { "K均值聚类": { "keywords": [], "children": [], "node_id": "python-4-1397" } }, { "选择K—肘部法则": { "keywords": [], "children": [], "node_id": "python-4-1398" } }, { "距离或相似性度量": { "keywords": [], "children": [ { "属性": { "keywords": [], "children": [], "node_id": "python-5-1320" } }, { "一般及欧氏距离": { "keywords": [], "children": [], "node_id": "python-5-1321" } }, { "平方欧氏距离": { "keywords": [], "children": [], "node_id": "python-5-1322" } }, { "字符串之间的编辑距离": { "keywords": [], "children": [], "node_id": "python-5-1323" } } ], "node_id": "python-4-1399" } }, { "文档上下文的相似性": { "keywords": [], "children": [], "node_id": "python-4-1400" } }, { "如何判断聚类结果是否良好": { "keywords": [], "children": [], "node_id": "python-4-1401" } } ] } } ] } }, { "高级教程": { "node_id": "python-2-16", "keywords": [], "children": [ { "函数": { "node_id": "python-3-257", "keywords": [], "children": [ { "参数": { "keywords": [], "children": [ { "规划时的灵活性": { "keywords": [], "children": [], "node_id": "python-5-1412" } }, { "可变位置参数": { "keywords": [], "children": [], "node_id": "python-5-1413" } }, { "可变关键字参数": { "keywords": [], "children": [], "node_id": "python-5-1414" } }, { "组合不同类型的参数": { "keywords": [], "children": [], "node_id": "python-5-1415" } }, { "调用具有可变参数的函数": { "keywords": [], "children": [], "node_id": "python-5-1416" } }, { "传递参数": { "keywords": [], "children": [], "node_id": "python-5-1417" } }, { "自省": { "keywords": [], "children": [], "node_id": "python-5-1418" } } ], "node_id": "python-4-1429" } }, { "装饰器": { "keywords": [], "children": [ { "闭包": { "keywords": [], "children": [], "node_id": "python-5-1419" } }, { "包装器": { "keywords": [], "children": [], "node_id": "python-5-1420" } }, { "带参数的装饰器": { "keywords": [], "children": [], "node_id": "python-5-1421" } }, { "带参数或不带参数的装饰器": { "keywords": [], "children": [], "node_id": "python-5-1422" } } ], "node_id": "python-4-1430" } }, { "函数注解": { "keywords": [], "children": [ { "提取样板": { "keywords": [], "children": [], "node_id": "python-5-1423" } }, { "用装饰器进行注解": { "keywords": [], "children": [], "node_id": "python-5-1424" } } ], "node_id": "python-4-1431" } }, { "生成器": { "keywords": [], "children": [], "node_id": "python-4-1432" } }, { "lambda": { "keywords": [], "children": [], "node_id": "python-4-1433" } }, { "自省": { "keywords": [], "children": [ { "标识对象类型": { "keywords": [], "children": [], "node_id": "python-5-1425" } }, { "模块和软件包": { "keywords": [], "children": [], "node_id": "python-5-1426" } }, { "文档字符串": { "keywords": [], "children": [ { "描述函数的作用": { "keywords": [], "children": [], "node_id": "python-6-222" } }, { "返回值": { "keywords": [], "children": [], "node_id": "python-6-223" } }, { "包含预期的异常": { "keywords": [], "children": [], "node_id": "python-6-224" } } ], "node_id": "python-5-1427" } } ], "node_id": "python-4-1434" } } ] } }, { "类": { "node_id": "python-3-258", "keywords": [], "children": [ { "继承": { "keywords": [], "children": [ { "多重继承": { "keywords": [], "children": [], "node_id": "python-5-1428" } }, { "方法解析顺序": { "keywords": [], "children": [], "node_id": "python-5-1429" } }, { "使用super函数将控制权传递给其他类": { "keywords": [], "children": [], "node_id": "python-5-1430" } }, { "自省": { "keywords": [], "children": [], "node_id": "python-5-1431" } } ], "node_id": "python-4-1435" } }, { "如何创建类": { "keywords": [], "children": [ { "在运行时创建类": { "keywords": [], "children": [], "node_id": "python-5-1432" } }, { "元类": { "keywords": [], "children": [], "node_id": "python-5-1433" } }, { "控制命名空间": { "keywords": [], "children": [], "node_id": "python-5-1434" } } ], "node_id": "python-4-1436" } }, { "成员变量": { "keywords": [], "children": [ { "属性": { "keywords": [], "children": [], "node_id": "python-5-1435" } }, { "描述器": { "keywords": [], "children": [], "node_id": "python-5-1436" } } ], "node_id": "python-4-1437" } }, { "方法": { "keywords": [], "children": [ { "非绑定方法": { "keywords": [], "children": [], "node_id": "python-5-1437" } }, { "绑定方法": { "keywords": [], "children": [], "node_id": "python-5-1438" } } ], "node_id": "python-4-1438" } }, { "魔术方法": { "keywords": [], "children": [ { "处理成员变量": { "keywords": [], "children": [], "node_id": "python-5-1439" } }, { "字符串表示": { "keywords": [], "children": [ { "字节字符串": { "keywords": [], "children": [ { "借助chr和ord进行简单的转换": { "keywords": [], "children": [], "node_id": "python-7-34" } }, { "借助struct模块进行复杂的转换": { "keywords": [], "children": [], "node_id": "python-7-35" } } ], "node_id": "python-6-225" } }, { "文本": { "keywords": [], "children": [ { "Unicode": { "keywords": [], "children": [], "node_id": "python-7-36" } }, { "编码": { "keywords": [], "children": [], "node_id": "python-7-37" } } ], "node_id": "python-6-226" } }, { "简单的替换": { "keywords": [], "children": [], "node_id": "python-6-227" } }, { "格式化": { "keywords": [], "children": [ { "在对象中查找值": { "keywords": [], "children": [], "node_id": "python-7-38" } }, { "区分字符串类型": { "keywords": [], "children": [], "node_id": "python-7-39" } }, { "标准格式规范": { "keywords": [], "children": [], "node_id": "python-7-40" } }, { "为文本文档制作目录": { "keywords": [], "children": [], "node_id": "python-7-41" } }, { "自定义格式规范": { "keywords": [], "children": [], "node_id": "python-7-42" } } ], "node_id": "python-6-228" } } ], "node_id": "python-5-1440" } } ], "node_id": "python-4-1439" } } ] } }, { "线程进程和协程": { "node_id": "python-3-132", "keywords": [], "children": [ { "基础概念": { "keywords": [], "children": [], "node_id": "python-4-763" } }, { "加锁和解锁": { "keywords": [], "children": [], "node_id": "python-4-764" } }, { "threading": { "keywords": [], "children": [], "node_id": "python-4-765" } }, { "multiprocessing": { "keywords": [], "children": [], "node_id": "python-4-766" } }, { "queue": { "keywords": [], "children": [], "node_id": "python-4-767" } }, { "gevent": { "keywords": [], "children": [], "node_id": "python-4-768" } } ] } }, { "结构化模式匹配": { "node_id": "python-insert-5", "keywords": [], "children": [] } }, { "探索 Python code object": { "node_id": "python-insert-6", "keywords": [], "children": [] } } ] } } ] } } ] } }