常用的数据挖掘&机器学习知识(点) Basis(基础): MSE(MeanSquare Error 均方误差),LMS(Least MeanSquare 最小均方),LSM(Least Square Methods 最小二乘法),MLE(Maximum LikelihoodEstimation最大似 ...
分类:
系统相关 时间:
2016-05-22 13:54:55
阅读次数:
395
Facade Pattern, 即外观模式,用于隐藏复杂的系统内部逻辑,提供简洁的接口给客户端调用,属于结构类的设计模式。我会将其名字理解为,门户模式。 下面是 Facade Pattern 的一个简单案例。 Shape 定义一个接口,Circle, rectangle, Square 分别实现 S ...
分类:
其他好文 时间:
2016-05-21 19:06:33
阅读次数:
156
Factory Pattern , 即工厂模式,用于创建对象的场景,属于创建类的设计模式 。 下面是一个工厂模式案例。 Shape 作为接口, Circle, Square, Rectangle 作为具体类实现了 Shape 接口。 ShapeFactory 封装了创建各个 Shape 的方式,隐藏 ...
分类:
其他好文 时间:
2016-05-21 14:14:39
阅读次数:
191
angle brackets 〈〉 brackets [] or square brackets breace {} parentheses () comma , semicolon ; quote "" '' quotation mark 单引号 single quotation marks (' ...
分类:
其他好文 时间:
2016-05-21 13:02:17
阅读次数:
117
官网:http://square.github.io/okhttp/ 参考地址:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0106/2275.html 封装:http://blog.csdn.net/lmj623565791 ...
分类:
Web程序 时间:
2016-05-20 11:13:45
阅读次数:
196
Coneology
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 3713
Accepted: 720
Description
A student named Round Square loved to play with cones. He would ar...
分类:
其他好文 时间:
2016-05-18 19:14:20
阅读次数:
254
题目内容: 幻方矩阵是指该矩阵中每一行、每一列、每一对角线上的元素之和都是相等的。从键盘输入一个5×5的矩阵并将其存入一个二维整型数组中,检验其是否为幻方矩阵,并将其按指定格式显示到屏幕上。 输入格式: "%d" 输出格式: 如果是幻方矩阵,输出提示信息: "It is a magic square ...
分类:
其他好文 时间:
2016-05-16 17:06:01
阅读次数:
610
关于结构体声明的一些写法:第一点:#include<stdio.h>struct square{ int (*add)(int a,int b);};int square_add(int a,int b){ return a + b;}int main(){ struct square stu={ ...
分类:
其他好文 时间:
2016-05-15 19:31:55
阅读次数:
212
Implement int sqrt(int x). Compute and return the square root of x. 实现 int sqrt(int x),计算X的平方根。 这道题如果是求double精度的平方根,可以用牛顿法,而这里只需要整数精度,所以使用二分查找法即可,查找范围 ...
分类:
其他好文 时间:
2016-05-15 16:49:19
阅读次数:
164
三维曲线
>> t=0:pi/50:10*pi;
>> plot3(sin(2*t),cos(2*t),t)
>> axis square
>> grid on
2、一窗口多图形
>> t=-2*pi:0.01:2*pi;
>> subplot(3,2,1)
>> plot(t,sin(t))
>> subplot(3,2,2)
>>...
分类:
其他好文 时间:
2016-05-12 22:24:05
阅读次数:
300