打赏
摘要: GIT-多人协作-方式一 1.由一个队友,创建本地分支: 2.再由该队友推送该本地分支到远程origin仓库: 这个操作,local_branch必须为你本地存在的分支,remote_branch为远程分支,如果remote_branch不存在则会自动创建分支。 (类似,git push origi 阅读全文
posted @ 2019-05-03 23:07 futureme 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Typora快捷键 shortcuts-windows 上标用^, 下标用_ e.g. log_2 公式内换行用 \\ 阅读全文
posted @ 2019-05-02 14:11 futureme 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1. 个人仓库 1. 创建想要git管理的非中文目录 2. 在该目录下执行命令 git init 2. 远程仓库 1. 到https://github.com/注册账号 2. 在本地repository目录下执行命令: config --global user.name "你的用户名" config 阅读全文
posted @ 2019-05-02 10:55 futureme 阅读(548) 评论(0) 推荐(0) 编辑
摘要: HEAD, staging area, working copy在上篇《Git命令之回退篇 git revert git reset》已经讲过,不明白请自行传送过去。 1. rm 是仅仅删除working directory里的文件,但若需要删除staging area和HEAD上的文件,需要先执行 阅读全文
posted @ 2019-05-01 19:58 futureme 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: Git command之回退篇 HEAD: 对应local repository,指当前所在的分支版本顶端的别名,也就是最新的一次commit. git commit 之后与HEAD一致 index: 对应staging area,指git add 之后放入该区域 WorkingCopy: 对应wo 阅读全文
posted @ 2019-04-29 19:50 futureme 阅读(10422) 评论(0) 推荐(0) 编辑
摘要: train_test_split函数用于将矩阵随机划分为训练子集和测试子集,并返回划分好的训练集测试集样本和训练集测试集标签。 格式: X_train,X_test, y_train, y_test =cross_validation.train_test_split(train_data,trai 阅读全文
posted @ 2018-09-05 06:03 futureme 阅读(256) 评论(0) 推荐(0) 编辑