Listing 9 shows the refactored number classifier.
清单9中显示了重构的数字分类器。
Listing 1 shows the number classifier written in an imperative style.
清单1展示了用命令式风格编写的数字分类器。
To solve the number classifier, I had to discern exactly how to gather factors, which in turn means I had to write the specific code to loop through Numbers to determine factors.
要解决数字分类器问题,必须准确辨别如何搜集因子,这意味着必须编写特定代码来遍历数字,从而确定因子。
What problem am I trying to solve? I need to make sure that my number classifier doesn't identify an imperfect number as perfect.
我试图解决的问题是确保我的数字分类器不会将非完全数识别为完全数。
Once I've isolated and removed the duplicated code, both the number classifier and the prime-number tester are much simpler. Listing 4 shows the refactored number classifier.
当我隔离和移除重复代码后,数字分类器和质数检验器就变得更简单了。
A mix model with the subspace classifier and BP neural network classifier was realized, which is used in handwritten English letter and number recognition.
最后,用子空间分类器和BP神经网络分类器构造了一个混联模型,用于手写英文字母和数字的识别。
To illustrate code reuse and its implications, I return to a version of the number classifier that previous installments use to illustrate code structure and style.
要说明代码重用及其含义,我要回过来谈谈先前文章说明代码结构和风格所用的数字分类器。
However, traditional supervised learning techniques typically require a large number of labeled examples to learn an accurate classifier.
然而,传统的监督学习算法需要标记大量的训练样本来建立满意的分类器。
Once I have extracted this class, I can refactor both the functional classifier and prime-number tester to use it.
一旦提取了该类之后,我就能通过同时重构函数分类器和质数检验器来使用它。
RBF network with high generalization is a good classifier, especially for larger number of samples.
径向基网络作为分类器具有很高的推广性能,有利于大容量样本的分类。
So, the semi-supervised learning method by learning a small number of labeling samples and a large number of samples to establish classifier came into being.
如此,通过对少量已标记样本和大量未标记的样本进行学习从而建立分类器的半监督学习方法应运而生。
So, the semi-supervised learning method by learning a small number of labeling samples and a large number of samples to establish classifier came into being.
如此,通过对少量已标记样本和大量未标记的样本进行学习从而建立分类器的半监督学习方法应运而生。
应用推荐