做为一种监督学习模型,支持向量机(Supprot Vector Machine)在机器学习领域内很重要。首先,SVM用来干什么?一句话将,就是分类(Classification)。比较简单的分类,比如线性分类、Logistic 回归等等,得到的分类结果未必是最优的。而SVM则旨在找到一个最优的分类器。从这个目的出发,SVM提出了Soft Margin,Support Vector等等看似很直观的概...
分类:
其他好文 时间:
2015-01-30 16:12:41
阅读次数:
160
1. An Axiomatic Basis for Computer Programming. 1969年的一篇论文,主要讲用公理基础证明计算机编程的正确性,包括赋值/递推/组合/循环等。不是那么容易读懂,特别是一些数理符号,想要完全看懂估计得查不少书。扫过重要的部分,关键就是
P{Q}R, 即前置条件满足assert(P) 为true,Q是一段程序(可以是多个子程序的组合),后置条件R是人们...
分类:
其他好文 时间:
2015-01-30 15:54:24
阅读次数:
201
JsdMainDialog.javapackage com.jsd.demo;import android.app.Activity;import android.content.Context;import android.graphics.Color;import android.os.Bund...
分类:
移动开发 时间:
2015-01-30 15:30:15
阅读次数:
203
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ImgList, ComCtrls, ExtCtrls;typ...
项目要求做一个这样子的gif
View的代码是package com.example;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.g...
分类:
其他好文 时间:
2015-01-29 17:46:17
阅读次数:
197
The Blocks ProblemBackgroundMany areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an ear...
分类:
其他好文 时间:
2015-01-29 17:14:00
阅读次数:
245
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) ...
uva 10795 A Different Task
The (Three peg) Tower of Hanoi problem is a popular one in computer science. Briefly the problem is to transfer all the disks from peg-A to peg-C using peg-B as i...
分类:
其他好文 时间:
2015-01-28 14:45:37
阅读次数:
194
import javax.swing.JFrame;import javax.swing.JPanel;import java.awt.Graphics;import java.awt.Color;import java.awt.Font;import java.awt.event.KeyListe...
分类:
其他好文 时间:
2015-01-27 21:44:50
阅读次数:
243
以上为实现后的情形,下面为代码,执行以后应该会是能动的,有兴趣的人可以自己运行试试看:import javax.swing.JFrame;import javax.swing.JPanel;import java.awt.Graphics;import java.awt.Color;import j...
分类:
编程语言 时间:
2015-01-27 21:40:35
阅读次数:
189