w2v-server: show som always
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 81b63b6..59f2e91 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -528,13 +528,13 @@
T.iter=0;
T.initDataRaw(data.vecs); // init embedding
drawEmbedding(); // draw initial embedding
-
+
if(iter_id >= 0) {
clearInterval(iter_id);
}
//T.debugGrad();
iter_id = setInterval(step, 1);
- if(<%= $show_som %>) {
+ if(true) { // (<%= $show_som %>) {
makeSOM(j, <%= $no_iterations %>);
}
}
@@ -570,15 +570,15 @@
<label for="dedupe">dedupe</label>
<input id="dedupe" type="checkbox" name="dedupe" value="1" <%= ($dedupe ? "checked" : "") %> title="radically filter out any near-duplicates">
% if($mergedEnd > 0) {
- <label for="sbf">backw.</label>
+ <label for="sbf">backw.</label>
<input id="sbf" type="checkbox" name="sbf" value="1" <%= ($searchBaseVocabFirst ? "checked" : "") %> title="If checkecked base vocabulary will be searched first. Otherwise merged vocabulray will be searched first.">
% }
<label for="neighbours">max. neighbours:</label>
<input id="neighbours" size="4" name="n" value="<%= $no_nbs %>">
- <label for="dosom">SOM</label>
- <input id="dosom" type="checkbox" name="som" value="1" <%= ($show_som ? "checked" : "") %>>
<label for="no_iterations">max. iterations</label>
<input id="no_iterations" name="N" size="4" value="<%= $no_iterations %>">
+ <!-- <label for="dosom">SOM</label>
+ <input id="dosom" type="checkbox" name="som" value="1" <%= ($show_som ? "checked" : "") %>> -->
% if($collocators) {
<label for="sortby">window/sort</label>
<select id="sortby" name="sort">