大前提:强调什么重读什么 (↗) 一般疑问句的语调(重点放在事情) 朗读一般疑问句时用升调(↗),而一般疑问句的简略答语则用降调(↘)。 Are you from Japan﹖(↗) Yes, I am. / No, I'm not.(↘) (↘) 特殊疑问句都要读成降调(↘)(重点放在疑问词) 并 ...
分类:
其他好文 时间:
2020-03-07 09:33:41
阅读次数:
123
直接简单的输出#简单输出一个字符串 >>>print('hello python apple') hello python apple#简单输出多个字符串 >>>print('hello','python', 'apple')hello python apple #简单输出拼接字符串>>>print ...
分类:
编程语言 时间:
2020-03-06 11:24:12
阅读次数:
79
//1.数组去重 var fruits = ["banana", "apple", "orange", "watermelon", "apple", "orange", "grape", "apple"]; //方法一 var arr = Array.from(new Set(fruits)) // ...
分类:
编程语言 时间:
2020-03-05 22:31:16
阅读次数:
85
1.Swift Playgrounds Mac 版上线 https://apps.apple.com/cn/app/swift-playgrounds/id1496833156?mt=12&ign-mpt=uo%3D4 https://zhuanlan.zhihu.com/p/106538941 ...
分类:
编程语言 时间:
2020-03-05 10:25:07
阅读次数:
61
让 mac 本地和自己的 github 网站建立连接(ssh) 下载安装 git 网址: https://git-scm.com/downloads 查看安装是否成功: git -version $ git version git version 2.15.1 (Apple Git-101) che ...
分类:
系统相关 时间:
2020-03-05 01:35:48
阅读次数:
112
js 输入值校验 JS中的test是原来是JS中检测字符串中是否存在的一种模式,JS输入值是否为判断正整数代码: <script type=”text/javascript”> function test() { var num = document.getElementById(“num”).va ...
分类:
编程语言 时间:
2020-03-04 14:42:52
阅读次数:
71
SVN 离线安装 下载SVN安装离线包 http://subclipse.tigris.org/files/documents/906/49486/site-1.10.13-1.9.x.zip 选择本地地址:D:\BaiduNetdiskDownload\site-1.10.13-1.9.x ...
分类:
其他好文 时间:
2020-03-04 12:43:34
阅读次数:
116
1.概述 GBDT基于GB算法。GB算法的主要思想是,每次建立模型是在之前建立模型损失函数的梯度下降方向。损失函数是评价模型性能(一般为拟合程度+正则项),认为损失函数越小,性能越好。而让损失函数持续下降,就能使得模型不断调整提升性能,其最好的方法就是使损失函数沿着梯度方向下降。GBDT再此基础上, ...
分类:
数据库 时间:
2020-03-04 09:52:00
阅读次数:
84
1、使用 Array.includes 来处理多个条件 请看下面的列子: // condition function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); } } 上面的列 ...
分类:
编程语言 时间:
2020-03-04 09:27:00
阅读次数:
132
//fs文件系统模块 let fs = require('fs') let http = require('http') // 读取文件操作 // 第一个参数为相对路径(也可传入绝对路径__dirname:代表当前目录的绝对路径,是一个字符串) // 第二个参数是一个回调函数 //console.l ...
分类:
其他好文 时间:
2020-03-04 00:24:54
阅读次数:
72