⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 associations-class.html

📁 本程序是基于linux系统下c++代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Class &ldquo;associations&rdquo; - A Set of Associations</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for associations-class {arules}"><tr><td>associations-class {arules}</td><td align="right">R Documentation</td></tr></table>
<h2>Class &ldquo;associations&rdquo; - A Set of Associations</h2>


<h3>Description</h3>

<p>
The <code>associations</code> class is a virtual class which is extended to
represent mining result (e.g., sets of itemsets or rules).  The class
provides accessors for the quality slot and a method for sorting the
associations.
</p>


<h3>Objects from the Class</h3>

<p>
A virtual class: No objects may be created from it.
</p>


<h3>Slots</h3>

<dl>
<dt><code>quality</code>:</dt><dd>a data.frame for quality
measures (e.g., interest measures as support or confidence).  Each
quality measure is a named vector with the same length as the
number of elements in the set of associations and each vector
element belongs to the association with the same index.</dd> 
<dt><code>info</code>:</dt><dd>a list which is used to store algorithm specific
mining information. Typically it contains a least the elements
<code>"data"</code> (name of the transaction data set), 
<code>"ntransactions"</code> (length of the data set), 
<code>"support"</code> (the minimum support used for mining).</dd> 
</dl>

<h3>Methods</h3>

<dl>
<dt>info&lt;-</dt><dd><code>signature(x = "associations")</code>;
replaces the info list.</dd>
<dt>info</dt><dd><code>signature(x = "associations")</code>;
returns the info list.</dd>
<dt>items</dt><dd><code>signature(x = "associations")</code>;
dummy method. This method has to be implemented by all subclasses
of <code>associations</code> and return the items which make up each
association as an object of class 
<code>itemMatrix</code>.</dd>
<dt>labels</dt><dd><code>signature(object = "associations")</code>;
dummy method. This method has to be implemented by all subclasses
of <code>associations</code> and return a vector
of <code>length(object)</code> of labels
for the elements in the association.</dd>
<dt>length</dt><dd><code>signature(x = "associations")</code>;
dummy method. This method has to be implemented by all subclasses
of <code>associations</code> and return the number of elements in the 
association.</dd>
<dt>quality&lt;-</dt><dd><code>signature(x = "associations")</code>;
replaces the quality data.frame.  The lengths of the vectors
in the data.frame have to equal the number of associations
in the set.</dd>
<dt>quality</dt><dd><code>signature(x = "associations")</code>;
returns the quality data.frame.</dd>
<dt>show</dt><dd><code>signature(object = "associations")</code></dd>
</dl>

<h3>Subclasses</h3>

<p>
<code><a href="itemsets-class.html">itemsets-class</a></code>,
<code><a href="rules-class.html">rules-class</a></code>
</p>


<h3>See Also</h3>

<p>
<code><a href="SORT.html">SORT</a></code>,
<code><a href="WRITE.html">WRITE</a></code>,
<code><a href="length.html">length</a></code>,
<code><a href="is.superset.html">is.subset</a></code>,
<code><a href="is.superset.html">is.superset</a></code>,
<code><a href="sets.html">sets</a></code>,
<code><a href="unique.html">unique</a></code>,
<code><a href="itemMatrix-class.html">itemMatrix-class</a></code>
</p>



<hr><div align="center">[Package <em>arules</em> version 0.6-6 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -