Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Four questions in one question is extremely awkward -- why not make a question one question? It's not as if it would cost you;-). Anyway, wrt "How do I indicate an empty value?", see <a href="http://www.ailab.si/orange/doc/reference/Value.htm" rel="nofollow noreferrer">the docs</a> regarding attribute <code>value</code> of instances of <code>Orange.Value</code>:</p> <blockquote> <p>If value is continuous or unknown, no descriptor is needed. For the latter, the result is a string '?', '~' or '.' for don't know, don't care and other, respectively.</p> </blockquote> <p>I'm not sure if by empty you mean "don't know" or "don't care", but anyway you can indicate either. Take care about distances, however -- from this other page in <a href="http://www.ailab.si/orange/doc/reference/ExamplesDistance.htm" rel="nofollow noreferrer">the docs</a>:</p> <blockquote> <p>Unknown values are treated correctly only by Euclidean and Relief distance. For other measure of distance, a distance between unknown and known or between two unknown values is always 0.5.</p> </blockquote> <p>The distances listed in this latter page are Hamming, Maximal, Manhattan, Euclidean and Relief (the latter is like Manhattan but with correct treatment of unknown values) -- no Cosine distance provided: you'll have to code it yourself.</p> <p>For (4), with just a little Python code you can obviously format results in any way you want. The <code>.clusters</code> attribute of a KMeans object is a list, exactly as long as the number of data instances: if what you want is a list of lists of data instances, for example:</p> <pre><code>def loldikm(data, **k): km = orange.KMeans(data, **k) results = [[] for _ in km.centroids] for i, d in zip(km.clusters, data): results[i].append(d) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload