Well, I kind of ignored the notion of bias 0 by making it 0, so let's give it a big bias here.
我一开始的时候,是让偏向值等于,所以这次让我们设一个比较大的偏向值。
It's totally legit to cull a function, get back a value, do nothing with it other than compare it to another value.
挑选一个函数是完全合法的,返回一个值,用它来做些事情而不是用它与其它的值比较。
All right, we were down here, and I was saying, let's try a larger, introduce a bias.
好了,我们在这儿,我刚才说,让我们试试一个比较大的偏差值。
This refers to random variables that have fat-tailed distributions-- random variables that occasionally give you really big outcomes.
这就表示,服从长尾分布的随机变量,这些数据出现极端值的概率比较大
Having already chosen to use equal as an assignment, I need something else to do comparison.
既然等号是,用来赋值的,我需要用一些东西来做比较。
If there's a large standard deviation it would be spread.
如果标准偏差值很大,那么它就比较分散。
Now I look at that element. Is it the thing I'm looking for? If I'm really lucky, it is. If not, I look at the value of that point here and the thing I'm looking for. And for sake of argument let's assume that the thing I'm looking for is smaller than the value here.
现在我们瞧瞧指向的元素,它是我们找的值么?如果足够幸运,他就是,如果不是,我们比较指向的元素,同我们要找的元素,方便起见,假设要找的元素比这里的值要小。
Initially, it's the beginning and the end of it.
然后根据中值点和目标数的比较结果。
Knowing that, I'm going to say, OK, how many pigs are there, well that's just how we're, however many I had total, minus that amount, and then I can see, how many legs does that give, and then I can check, that the number of legs that I would get for that solution, is it even equal to the number of legs I started with, ah! Interesting. A return.
它将给我返回头的总数,知道了这些之后我可以说好了,有多少猪呢,无论有多少组鸡的数目,我只要用总数减去那个值,之后我就可以知道一共有多少条腿,然后再把这个值和题目中的腿数相比较,看它是否等于一开始的腿数,啊!真有趣,有一个返回值。
PROFESSOR: Yeah, comparing values, right?
教授:对了,用来比较值的,对不对?
STUDENT: Comparing values?
学生:用来比较值的么?
I've got another little thing here that I'm going to use a little later on that just prints out values of things.
给我p2的x值,对它们进行比较,就像我们通常会做的那样。
STUDENT: So, the string A is less than three, is false because they're comparing like ASCII values?
学生:字符串A比数字3小,是false的原因是因为对他们,进行了ASCII值的比较么?
The answer is, I don't know if it's ASCII.
答案是,我不知道是不是对ASCII值进行比较的。
应用推荐