Mercurial > repos > pmac > iterativepca
comparison pca_report.html @ 0:64e75e21466e draft default tip
Uploaded
| author | pmac |
|---|---|
| date | Wed, 01 Jun 2016 03:38:39 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:64e75e21466e |
|---|---|
| 1 {% macro display_iterations(ilist) %} | |
| 2 {% for it in ilist %} | |
| 3 {{ display_single_iteration(it) }} | |
| 4 {% endfor %} | |
| 5 {% endmacro %} | |
| 6 | |
| 7 {% macro display_single_iteration(idata) %} | |
| 8 <div><h3>Iteration {{ idata.count }}</h3></div> | |
| 9 {% for pp in idata.rel_plot_paths %} | |
| 10 <img src="{{ pp }}"> | |
| 11 {% endfor %} | |
| 12 <div> | |
| 13 <strong>{{ idata.xl|length - 1 }} samples were excluded from the PCA</strong> | |
| 14 <details> | |
| 15 <table> | |
| 16 {% for x in idata.xl %} | |
| 17 <tr> | |
| 18 {% if loop.first %} | |
| 19 {% for cell in x %} | |
| 20 <th>{{ cell }}</th> | |
| 21 {% endfor %} | |
| 22 {% else %} | |
| 23 {% for cell in x %} | |
| 24 <td>{{ cell }}</td> | |
| 25 {% endfor %} | |
| 26 {% endif %} | |
| 27 </tr> | |
| 28 {% endfor %} | |
| 29 </table> | |
| 30 </details> | |
| 31 </div> | |
| 32 <div> | |
| 33 <strong>Detected {{ idata.ol|length - 1}} outliers</strong> | |
| 34 <details> | |
| 35 <table> | |
| 36 {% for x in idata.ol %} | |
| 37 <tr> | |
| 38 {% if loop.first %} | |
| 39 {% for cell in x %} | |
| 40 <th>{{ cell }}</th> | |
| 41 {% endfor %} | |
| 42 {% else %} | |
| 43 {% for cell in x %} | |
| 44 <td>{{ cell }}</td> | |
| 45 {% endfor %} | |
| 46 {% endif %} | |
| 47 </tr> | |
| 48 {% endfor %} | |
| 49 </table> | |
| 50 </details> | |
| 51 </div> | |
| 52 </div> | |
| 53 {% endmacro %} | |
| 54 | |
| 55 <!DOCTYPE html> | |
| 56 <html> | |
| 57 <head> | |
| 58 <title>PCA Report</title> | |
| 59 </head> | |
| 60 <body> | |
| 61 <h1>PCA Report</h1> | |
| 62 <div><strong>Date:</strong> {{ date }}</div> | |
| 63 <div><strong>Input data file:</strong> {{ dfname }}</div> | |
| 64 <div><strong>Log File:</strong> {{ lfname }} | |
| 65 <details><pre>{{ logcontent }}</pre></details> | |
| 66 </div> | |
| 67 <div><strong>Standard Deviation Multiplier: </strong> {{ sd_cutoff }} </div> | |
| 68 <div><strong>Clustering Method: </strong> {{ cmethod }} </div> | |
| 69 <div><strong>Cluster Trimming: </strong> {{ tmethod }} </div> | |
| 70 | |
| 71 <div><h2>Iteration data</h2> | |
| 72 {{ display_iterations(iteration_data) }} | |
| 73 </div> | |
| 74 </body> | |
| 75 </html> | |
| 76 | |
| 77 | |
| 78 |
