📄 consultr.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Manpage of C4.5</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE TYPES="text/css">DIV.section {
MARGIN-LEFT: 2cm
}
</STYLE>
<LINK REL=StyleSheet HREF="../../../../stylesheet/main.css" TYPE="text/css">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<blockquote>
<H1>CONSULTR</H1>
<HR>
<A name=lbAB> </A>
<H2>NAME</H2>
<P>consultr - classify items using a rule set <A name=lbAC> </A>
<H2>SYNOPSIS</H2>
<P><B>consultr</B> [ <B>-f</B> FNS ] [ <B>-t</B> ] <A name=lbAD> </A>
<H2>DESCRIPTION</H2>
<P><I>Consultr</I> reads a rule set produced by c4.5rules and uses this to
classify items whose description is provided by the user. The rule set read is
<I>filestem.rules,</I> where <I>filestem</I> is the file name stem (see manual
entry for c4.5).
<P>Consultr prompts for the value of an attribute when needed. Unknown attribute
values are specified as '?'.
<P>If the attribute has discrete values, its value can be specified either as
<BR> <I>v</I> <BR>where v is one
of the permissible values of the attribute, or as
<BR> <I>v1:p1, v2:p2, ... ,
vn:pn</I> <BR>where the vi's are some or all of the permissible values of the
attribute and the pi's are corresponding probabilities. If the sum of the pi's
is less than 1, the remaining probability is distributed equally among the
unspecified values of the attribute. For example, if attribute A has possible
values X, Y and Z, the reply
<BR> X:0.5 <BR>is the same as
<BR> X:0.5, Y:0.25, Z:0.25
<P>If the attribute has real values, its value can be specified either as
<BR> <I>r</I> <BR>where r is a
real number, or as <BR> <I>r1 -
r2</I> <BR>where r1 and r2 are real numbers. The latter form is taken to mean
"somewhere in the interval [r1,r2]".
<P>When all relevant attributes have been determined, consultr will give a class
that the item might belong to. The likelihood of the class may be indicated by a
probability. For example, <BR>
<I>C1 CF = 0.9</I> <BR>means "class C1 with probability 0.9".
<P>At the end of each item, consultr will prompt for retrial of the same item, a
new item, or end of session. When retrying an item, the previous values of
queried attributes are displayed in square brackets. If the value is unchanged,
reply with a carriage return; otherwise, specify the changed value.
<P>Options and their meanings are:
<P>
<DL compact>
<DT><B>-f</B><I>filestem</I>
<DD>Specify the filename stem (default <B>DF)</B>
<DT><B>-t</B>
<DD>Display the rule set at the start of the consulting session. </DD></DL><A
name=lbAE> </A>
<H2>FILES</H2>
<P>consultr <BR>filestem.names <BR>filestem.rules
<P><A name=lbAF></A>
</blockquote>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -