<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>CompClust - ROC Plot</title>
  <link rel="stylesheet" href="/compclust_css" type="text/css"
  	tal:attributes="href compclust_css" />
</head>
<body>
<span id="compclustMenu" tal:replace="structure menu"/>
<div id="compclustBody">
<h1><a href="#instructions">ROC in cluster versus out of cluster analysis</a></h1>
<form action="roc" method="get">
  <p>
  <label for="labeling">Clustering</label>
  <select name="labeling" id="labeling">
    <option tal:repeat="label labeling" tal:content="label/0"
            tal:attributes="selected label/1">None</option>
  </select>
  <span id="prompt_for_label" tal:condition="prompt_for_label">
    <label for="label">label</label>
    <select name="label" id="label">
      <option tal:repeat="label labels" tal:content="label/0"
              tal:attributes="selected label/1">None</option>
    </select>
  </span>
  <input type="submit"/>
  <a href="" tal:condition="rocplot" 
     tal:attributes="href downloadploturl">download</a>
  </p>
</form>
<hr/>
<div id="compclustPlot" tal:condition="not:rocplot">
  <h1><a name="instructions">Instructions</a></h1>
  <div id="prompt_for_label" tal:condition="not:prompt_for_label">
    <p>Creating an ROC plot requres a few steps</p>
    <ol>
      <li><b>Select which clustering to compare</b></li>
      <li>Select which particular cluster to focus on</li>
      <li>Examine the overlap between the selected cluster and its neighbors</li>
    </ol>
  </div>
  <div id="prompt_for_label" tal:condition="prompt_for_label">
    <p>Creating an ROC plot requres a few steps</p>
    <ol>
      <li>Select which clustering to compare</li>
      <li><b>Select which particular cluster to focus on</b></li>
     <li>Examine the overlap between the selected cluster and its neighbors</li>
    </ol>
  </div>
</div>     
<div id="compclustPlot" tal:condition="rocplot" >
  <map name="graph" id="graph" tal:replace="structure csimap"></map>
  <img tal:attributes="src rocplot" src="" usemap="#graph"
       alt="cluster plot"/>
  <hr/>
  <h1><a name="instructions">Instructions</a></h1>
  <p>
  The plot on the left shows the ROC curve. The right top most curve
  show a histogram of cluster membership by distance from the cluster
  mean. The final, lower right, histogram shows vectors outside the
  chosen cluster that are inside the outermost bounds of the selected
  cluster. 
  </p>
</div>
</div>
</body>
</html>
