机器学习算法系列之二:算法概述

image

Live and Learn!


一、综述

1.1 算法分类

  要对前面这些算法进行一个严格的分类,是很困难的事,有些算法往往二者兼顾,因此这里的分类仅供参考,不具有绝对性。所谓形醉而意不醉,不拘泥于一招一式,融会贯通,人算合一,才是那最高的境界(PS:我也在路上)。闲话休絮,对于算法的分类,详述如下(分类准则参考了大部分网上资料)。

1.1.1 学习模型

  按照学习模型可以分为监督学习(Supervised Learning)、无监督学习(Unsupervised Learning)、半监督(Semi-Supervised Learning)、强化学习(Reinforcement Learning),如下1-1所示:

图1-1  按学习模型分类

阅读全文

机器学习算法系列之一:简介

image

Machine! Machine! Machine!


一、前言

1.1 发展简史

  2016的最后一秒(国历)刚刚过去,抢完红包坐在电脑前,忽然心血来潮想要在2017的新的一年,新的一天写点什么,刚好前些日子准备对机器学习的东西做个整理,so,here it is。
  作为2016互联网的热门关键词汇之一,ML(机器学习)算是出尽了风头。一向盛产黑科技的谷歌,可谓独领风骚。先是其AlphaGo击败了世界顶级围棋起手李世石,后其翻译系统实现了“Zero shot”。而拥有巨大市场优势的百度,则是将其外卖生意做的风生水起,有声有色。先不去吐槽百度了,来简单回顾一下机器学习的发展历程吧。

阅读全文

Netfilter解读系列之一:简介

Read the fucking source code!


一、概述

1.1 What’s Netfilter?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
root@developer#:info netfilter
* Description:
netfilter.org is home to the software of the packet filtering
framework inside the Linux 2.4.x and later kernel series. Software
commonly associated with netfilter.org is iptables.

Software inside this framework enables packet filtering, network
address [and port] translation (NA[P]T) and other packet mangling. It
is the re-designed and heavily improved successor of the previous Linux
2.2.x ipchains and Linux 2.0.x ipfwadm systems.

netfilter is a set of hooks inside the Linux kernel that allows
kernel modules to register callback functions with the network stack.
A registered callback function is then called back for every packet
that traverses the respective hook within the network stack.

iptables is a generic table structure for the definition of rulesets.
Each rule within an IP table consists of a number of classifiers (iptables
matches) and one connected action (iptables target).

netfilter, ip_tables, connection tracking (ip_conntrack, nf_conntrack)
and the NAT subsystem together build the major parts of the framework.

* Usage:
··· ···

  以上内容摘自netfilter项目官方网站 http://www.netfilter.org/index.html

阅读全文