And we can just extrapolate in a straight line We before saw some examples where I had an algorithm to generate points, and we fit a curve to it, used the curve to predict future points and discovered it was nowhere close.
我们可以干脆用一条直线来描述它,我们之前看到在一些例子中,我用一个算法去生成一些点,然后用一条曲线对它进行拟合,然后用这条曲线来预测未来的点,最后却发现结果完全不对。
Just take a look: if this is 9, 5 divided by 9 is always going to be 0 point something, and if you thus have two integers and you're rounding down, which is what happens when you do integral math we're using this operator, I'm going to get zero times whatever.
稍微看一看:如果这是9,5除以9会得到,0点几,如果你用两个整型数,你舍去小数,这就是当你们,用整型数使用这个操作的所发生的事情,我将得到数值0乘以任何一个数字。
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
You can see the different points-- I've calculated this using data from 1983 until 2006-- and I computed all of the inputs to those equations that we just saw.
你可以观察不同的点-,我用从1983年到2006年的数据-,代入我们刚教授的等式,进行了计算。
So, just give me a little bit of time to find out maybe by soliciting e-mail responses from you what would be a good time for my office hours.
所以,给我点时间考虑一下,或许我会用电子邮件发一个小问卷调查,然后我来决定什么时间最合适
Third one is, it may depend on which version of Python I'm running.
第三点就是,这可能会和我,用的Python的版本有关系。
应用推荐