清单9中显示了重构的数字分类器。
清单1展示了用命令式风格编写的数字分类器。
Listing 1 shows the number classifier written in an imperative style.
我试图解决的问题是确保我的数字分类器不会将非完全数识别为完全数。
What problem am I trying to solve? I need to make sure that my number classifier doesn't identify an imperfect number as perfect.
当然这是一个关于数字分类的设想示例,所以很难在各种类型的代码中泛化。
This is of course a contrived example relating to number classification, so it's hard to generalize to different types of code.
当我隔离和移除重复代码后,数字分类器和质数检验器就变得更简单了。
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.
要说明代码重用及其含义,我要回过来谈谈先前文章说明代码结构和风格所用的数字分类器。
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.
要解决数字分类器问题,必须准确辨别如何搜集因子,这意味着必须编写特定代码来遍历数字,从而确定因子。
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.
你能够通过分类、排序的活动、玩数字和逻辑游戏以及解各种各样智力游戏来练习它。
You can exercise it through classifying and sequencing activities, playing number and logic games, and solving various kinds of puzzles.
数字识别再一次成为分类学习的常见样本。
Digit recognition, once again, is a common example of classification learning.
实验证明该方法有很高的识别率,能够有效地进行手写数字的分类,可以满足实际应用。
The result of experiment shows high recognition rate, which indicates that the method can effectively classify handwritten digits and be put into practical use.
提出了一种基于马尔可夫链蒙特卡罗(MCMC)的数字调制分类方法。
A novel method is proposed for digital modulation classification based on Markov chain Monte Carlo (MCMC).
本文着重介绍在遥感影象分类中应用数字地面模型(DTM)改正地物反射光谱中地形影响的方法和试验。
In this paper the methods and experiments for applying the digital terrain model(DTM) to improve the classification accuracy are introduced.
本文简要介绍了数字证据的概念、特点、分类,以及取证的一般步骤和相关技术工具等。
This paper briefly describes the definition, characteristics, classification of digital evidence and common steps of forensics, as well as the related techniques and tools.
为实现具有工程化特征的数字成图生产工艺奠定完备的分类参数模型基础。
It also lays a complete foundation for classifying parameter model in order to realize digital mapping technology with engineering feature.
介绍了数字水印技术背景、基本原理、特点及现状,并给出典型算法的分类和目前存在的问题。
This paper describes the background basic principle, features and current situation of digital watermarking, and provides the classification of typical algorithm and analyzes the existing problem.
本文在国家科学数字图书馆的应用背景下,研究基于统计的自动文本分类方法。
This article studies the statistical automatic text classification methods in the National Science Digital Library.
文本分类的一个重要应用领域是数字图书馆。
Text classification is an important research area in digital Library.
协作分类和标签都有用,但是我们缺乏一种让这些数字化“宝藏”为全世界所用的共同语言。
Folksonomies and tagging are useful, but we lack the common language needed to make our digital treasures universally useful.
整个南极洲的海洋面积达几百万平方英里,为了便于开展空中测量,科学家们按照字母和数字的顺序分类排列南极洲的冰山,因此上述的这块大冰山被命名为C - 19。
Icebergs in Antarctica are designated by letters and Numbers for aerial surveys across millions of square miles of the southern ocean, and this berg is known as C-19.
每当客户花了一笔钱,数字钱包就会将花销自动分类记至合适的条目之下,根据客户的预算目标做出实时更新。
As a customer makes a purchase, the digital wallet automatically categorizes that expense into the appropriate category, and provides a real-time update against the customer's budget targets.
表示数字字符的字符分类名称。
这是个很小的数字照片分类和搜索系统。
A digital photo cataloging and search system that's as small as it can be.
分类轴不支持数字格式。
本文介绍数字水印技术的基本概念、系统框架、主要分类及可能的攻击方法。
In this paper, the basic concepts, frame of the system, main categories of digital watermarking and possible attacks are described.
根据具体使用的CAPTCHA算法,他们的分类技术对数字和字母的识别率可以达到50%至将近100%之间。
Their assorted techniques recognise anywhere between half and nearly all letters and numbers, depending on the particular CAPTCHA algorithm in use.
本文介绍了数字水印技术的概念和基本原理,并按照不同的分类方法详细介绍了数字水印的类别。
This Article mainly discusses the concept and basic principle of the digital watermarking technology and the category of digital watermarking according to the different classifications in detail.
最后在对手写数字进行识别时,先进行粗分类再进行细分类。
Finally coarse classification and precise classification are separately carried out in handwritten digits recognition.
本文就搜索引擎的分类、工作原理、体系结构以及在数字图书馆中的作用做了一些探讨。
In this paper, the class of search engine, work principle, system structure and the effect in digital library are discussed.
文章在研究经典刻面分类模式的基础上,提出了一种基于动态权重的数字化刻面分类模式。
The paper proposed a new digitized faceted classification model based on dynamic weight value which is originated from classify faceted classification model.
随着海量数据(有些人称之为数字垃圾)的不断产生,手工对数据进行分类几乎已经是不可能的事了。
As ever increasing volumes of data (which some call the digital landfill) are generated, it becomes nearly impossible to classify data manually.
应用推荐