mirror of
https://github.com/apachecn/ailearning.git
synced 2026-05-12 03:27:11 +08:00
2021-09-07 23:28:16
This commit is contained in:
24
old/SECURITY.md
Normal file
24
old/SECURITY.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 安全政策 Security Policy
|
||||
|
||||
## 支持版本 Supported Versions
|
||||
|
||||
Use this section to tell people about which versions of your project are
|
||||
currently being supported with security updates.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 3.6.x | :x: |
|
||||
| 2.7.x | :white_check_mark: |
|
||||
|
||||
注意事项:
|
||||
|
||||
- 机器学习实战: 仅仅只是学习,请使用 python 2.7.x 版本 (3.6.x 只是修改了部分)
|
||||
- 深度学习/自然语言处理: 请使用 python 3.6.x 版本
|
||||
|
||||
## 报告漏洞 Reporting a Vulnerability
|
||||
|
||||
Use this section to tell people how to report a vulnerability.
|
||||
|
||||
Tell them where to go, how often they can expect to get an update on a
|
||||
reported vulnerability, what to expect if the vulnerability is accepted or
|
||||
declined, etc.
|
||||
1
old/ads.txt
Normal file
1
old/ads.txt
Normal file
@@ -0,0 +1 @@
|
||||
google.com, pub-3565452474788507, DIRECT, f08c47fec0942fa0
|
||||
176
old/book.json
Normal file
176
old/book.json
Normal file
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"title" : "AiLearning 中文文档",
|
||||
"author" : "ApacheCN",
|
||||
"description" : "AiLearning 中文文档: 教程和文档",
|
||||
"language" : "zh-hans",
|
||||
"plugins": [
|
||||
"github",
|
||||
"github-buttons",
|
||||
"-sharing",
|
||||
"insert-logo",
|
||||
"sharing-plus",
|
||||
"back-to-top-button",
|
||||
"code",
|
||||
"copy-code-button",
|
||||
"katex",
|
||||
"pageview-count",
|
||||
"edit-link",
|
||||
"emphasize",
|
||||
"alerts",
|
||||
"auto-scroll-table",
|
||||
"popup",
|
||||
"hide-element",
|
||||
"page-toc-button",
|
||||
"tbfed-pagefooter",
|
||||
"sitemap",
|
||||
"advanced-emoji",
|
||||
"expandable-chapters",
|
||||
"splitter",
|
||||
"search-pro"
|
||||
],
|
||||
"pluginsConfig": {
|
||||
"github": {
|
||||
"url": "https://github.com/apachecn/AiLearning"
|
||||
},
|
||||
"github-buttons": {
|
||||
"buttons": [
|
||||
{
|
||||
"user": "apachecn",
|
||||
"repo": "AiLearning",
|
||||
"type": "star",
|
||||
"count": true,
|
||||
"size": "small"
|
||||
}
|
||||
]
|
||||
},
|
||||
"insert-logo": {
|
||||
"url": "http://data.apachecn.org/img/logo.jpg",
|
||||
"style": "background: none; max-height: 150px; min-height: 150px"
|
||||
},
|
||||
"hide-element": {
|
||||
"elements": [".gitbook-link"]
|
||||
},
|
||||
"edit-link": {
|
||||
"base": "https://github.com/apachecn/AiLearning/blob/master",
|
||||
"label": "编辑本页"
|
||||
},
|
||||
"sharing": {
|
||||
"qzone": true,
|
||||
"weibo": true,
|
||||
"twitter": false,
|
||||
"facebook": false,
|
||||
"google": false,
|
||||
"qq": false,
|
||||
"line": false,
|
||||
"whatsapp": false,
|
||||
"douban": false,
|
||||
"all": [
|
||||
"qq", "douban", "facebook", "google", "linkedin", "twitter", "weibo", "whatsapp"
|
||||
]
|
||||
},
|
||||
"page-toc-button": {
|
||||
"maxTocDepth": 4,
|
||||
"minTocSize": 4
|
||||
},
|
||||
"tbfed-pagefooter": {
|
||||
"copyright":"Copyright © ibooker.org.cn 2019",
|
||||
"modify_label": "该文件修订时间: ",
|
||||
"modify_format": "YYYY-MM-DD HH:mm:ss"
|
||||
},
|
||||
"sitemap": {
|
||||
"hostname": "http://pytorch.apachecn.org"
|
||||
}
|
||||
},
|
||||
"my_links" : {
|
||||
"sidebar" : {
|
||||
"Home" : "https://www.baidu.com"
|
||||
}
|
||||
},
|
||||
"my_plugins": [
|
||||
"donate",
|
||||
"todo",
|
||||
"-lunr",
|
||||
"-search",
|
||||
"expandable-chapters-small",
|
||||
"chapter-fold",
|
||||
"expandable-chapters",
|
||||
"expandable-chapters-small",
|
||||
"back-to-top-button",
|
||||
"ga",
|
||||
"baidu",
|
||||
"sitemap",
|
||||
"tbfed-pagefooter",
|
||||
"advanced-emoji",
|
||||
"sectionx",
|
||||
"page-treeview",
|
||||
"simple-page-toc",
|
||||
"ancre-navigation",
|
||||
"theme-apachecn@git+https://github.com/apachecn/theme-apachecn#HEAD",
|
||||
"pagefooter-apachecn@git+https://github.com/apachecn/gitbook-plugin-pagefooter-apachecn#HEAD"
|
||||
],
|
||||
"my_pluginsConfig": {
|
||||
"github-buttons": {
|
||||
"buttons": [
|
||||
{
|
||||
"user": "apachecn",
|
||||
"repo": "AiLearning",
|
||||
"type": "star",
|
||||
"count": true,
|
||||
"size": "small"
|
||||
},
|
||||
{
|
||||
"user": "apachecn",
|
||||
"width": "160",
|
||||
"type": "follow",
|
||||
"count": true,
|
||||
"size": "small"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ignores": ["node_modules"],
|
||||
"simple-page-toc": {
|
||||
"maxDepth": 3,
|
||||
"skipFirstH1": true
|
||||
},
|
||||
"page-toc-button": {
|
||||
"maxTocDepth": 2,
|
||||
"minTocSize": 2
|
||||
},
|
||||
"page-treeview": {
|
||||
"copyright": "Copyright © aleen42",
|
||||
"minHeaderCount": "2",
|
||||
"minHeaderDeep": "2"
|
||||
},
|
||||
"donate": {
|
||||
"wechat": "微信收款的二维码URL",
|
||||
"alipay": "支付宝收款的二维码URL",
|
||||
"title": "",
|
||||
"button": "赏",
|
||||
"alipayText": "支付宝打赏",
|
||||
"wechatText": "微信打赏"
|
||||
},
|
||||
"page-copyright": {
|
||||
"description": "modified at",
|
||||
"signature": "你的签名",
|
||||
"wisdom": "Designer, Frontend Developer & overall web enthusiast",
|
||||
"format": "YYYY-MM-dd hh:mm:ss",
|
||||
"copyright": "Copyright © 你的名字",
|
||||
"timeColor": "#666",
|
||||
"copyrightColor": "#666",
|
||||
"utcOffset": "8",
|
||||
"style": "normal",
|
||||
"noPowered": false
|
||||
},
|
||||
"ga": {
|
||||
"token": "UA-127082511-1"
|
||||
},
|
||||
"baidu": {
|
||||
"token": "75439e2cbd22bdd813226000e9dcc12f"
|
||||
},
|
||||
"pagefooter-apachecn": {
|
||||
"copyright":"Copyright © ibooker.org.cn 2019",
|
||||
"modify_label": "该文件修订时间: ",
|
||||
"modify_format": "YYYY-MM-DD HH:mm:ss"
|
||||
}
|
||||
}
|
||||
}
|
||||
6
old/requirements.txt
Normal file
6
old/requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
numpy
|
||||
pandas
|
||||
sklearn
|
||||
keras==2.3.1
|
||||
tensorflow==2.0.0
|
||||
git+https://www.github.com/keras-team/keras-contrib.git
|
||||
9
old/run_example.py
Normal file
9
old/run_example.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import tutorials.keras.text_NER as ft
|
||||
|
||||
|
||||
def main():
|
||||
ft.main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
13
old/run_website.sh
Normal file
13
old/run_website.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
loginfo() { echo "[INFO] $@"; }
|
||||
logerror() { echo "[ERROR] $@" 1>&2; }
|
||||
|
||||
python3 src/script.py "home" "book"
|
||||
rm -rf node_modules/gitbook-plugin-tbfed-pagefooter
|
||||
gitbook install
|
||||
python3 src/script.py "home" "powered"
|
||||
python3 src/script.py "home" "gitalk"
|
||||
gitbook build ./ _book
|
||||
|
||||
# # rm -rf /opt/apache-tomcat-9.0.17/webapps/test_book
|
||||
# # cp -r _book /opt/apache-tomcat-9.0.17/webapps/test_book
|
||||
Reference in New Issue
Block a user