Changeset 7821:1152abbd45bc in orange
- Timestamp:
- 04/08/11 08:54:53 (2 years ago)
- Branch:
- default
- Convert:
- 0f910d4d352f093f3a4fbafd0b496ca27afa76c0
- File:
-
- 1 edited
-
orange/doc/reference/Example.htm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
orange/doc/reference/Example.htm
r6538 r7821 108 108 </XMP> 109 109 110 <P>The <CODE>newdomain</CODE> consists of several attributes from <CODE>data1</CODE> and <CODE>data2</CODE>: <CODE>a1</CODE>, <CODE>a 2</CODE> and <CODE>m1</CODE> are ordinary, and <CODE>m2</CODE> and <CODE>a2</CODE> are meta-attributes. Variables <CODE>m1</CODE> and <CODE>m2</CODE> are really tuples of meta-id and a descriptor (<A href="Variable.htm">Variable</A>). For this reason, <CODE>orange.Domain</CODE> is initialized with <CODE>m1[1]</CODE>, descriptor, while when adding meta attributes, we use <CODE>m2[0]</CODE> and <CODE>m2[1]</CODE>, so that <CODE>m2</CODE> has the same id in both domains. For meta-attribute <CODE>a2</CODE> which was original ordinary, we obtain a new id.</P>110 <P>The <CODE>newdomain</CODE> consists of several attributes from <CODE>data1</CODE> and <CODE>data2</CODE>: <CODE>a1</CODE>, <CODE>a3</CODE> and <CODE>m1</CODE> are ordinary, and <CODE>m2</CODE> and <CODE>a2</CODE> are meta-attributes. Variables <CODE>m1</CODE> and <CODE>m2</CODE> are really tuples of meta-id and a descriptor (<A href="Variable.htm">Variable</A>). For this reason, <CODE>orange.Domain</CODE> is initialized with <CODE>m1[1]</CODE>, descriptor, while when adding meta attributes, we use <CODE>m2[0]</CODE> and <CODE>m2[1]</CODE>, so that <CODE>m2</CODE> has the same id in both domains. For meta-attribute <CODE>a2</CODE> which was original ordinary, we obtain a new id.</P> 111 111 112 112 <P>In addition, <CODE>newdomain</CODE> has two new attributes, <CODE>n1</CODE> and <CODE>n2</CODE>, the first as ordinary and the second as meta-attribute.</P>
Note: See TracChangeset
for help on using the changeset viewer.
