<?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">
<head>
  <title>CompClust - Trajectory Summary for each Cluster</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">Show per cluster trajectory summary</a></h1>
<form action="cluster_trajectories" method="get">
  <p>
  <label for="set">Clustering </label>
  <select id="set" name="set" width="30%">
    <option tal:repeat="label set" tal:content="label/0"
            tal:attributes="selected label/1">None</option>
  </select>
  <!-- label for="primary">Primary</label>
  <select id="primary" name="primary">
    <option tal:repeat="label primary" tal:content="label/0" 
            tal:attributes="selected label/1">None</option>
  </select>
  <label for="secondary">Secondary</label>
  <select id="secondary" name="secondary">
    <option tal:repeat="label secondary" tal:content="label/0"
            tal:attributes="selected label/1">None</option>
  </select -->
  <input type="submit"/>
  <a href="" tal:condition="cluster_trajectories_plot" 
     tal:attributes="href downloadploturl">download</a>
  </p>
</form>
<hr/>
<div id="compclustPlot" tal:condition="cluster_trajectories_plot" >
  <p>
    <map id="graph" name="graph" tal:replace="structure csimap"></map>
    <img tal:attributes="src cluster_trajectories_plot" src="" usemap="&#035;graph"
         alt="cluster plot"/>
       
  </p>
  <hr/>
  <h1><a name="instructions">Instructions</a></h1>
  <p>
    click on a plot to view all of the vectors in that clustering. The value 
    in the upper left is the number of members of this cluster, the roc 
    score is in the lower right.
  </p>
</div>
<div tal:condition="not:cluster_trajectories_plot">
<h1><a name="instructions">Instructions</a></h1>
<p>
Choose a cluster labeling above to view plots showing the mean and
standard deviation plot for each cluster. 
</p>
<p><em>note</em>: you should not choose a labeling with many different
labels, such as the unique primary label as you'll then end up with
a plot for each row of your dataset.
</p>
</div>
</div>
</body>
</html>
