1 of 4

Cookbook for Practice 10.5

Cong Li 李聪

实践10.5攻略

2 of 4

Run It 运行之 (1)

Create a new file ‘test.py’ & import the required components 创建新文件“test.py”并导入所需组件

In class ‘Perceptron’ in ‘perceptron.py’, output some information before training each binary classifier

在“perceptron.py”的“Perceptron”类型中,在训练每个两类分类器前输出一些信息

3 of 4

Run It 运行之 (2)

Run it 运行之

In the main section, read data from files & create classifier & tester instances for evaluation

在主程序部分,从文件中读取数据,并创建分类器和“Tester”类型的实例以评估准去率

4 of 4

The End