home | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td>DeepLearning4j UI <td style="width: 128px;">  </tr> </tbody> </table> </div> <br /> <br /> <div id="container" style="width: 100%;"> <div id="wrapper" class="wrapper" style="width: 100%;"> <div id="sidebar-wrapper" class="sidebar-wrapper"> </div> <div id="page-content-wrapper" class="page-content-wrapper" style="text-align: center; width: 100%;"> <div class="container-fluid" style="text-align: center; width: 100%;"> <div id="instructions" style="text-align: left; display: inline-block;"> <h2>k Nearest Neighbors <h4> <ol> <li>Upload a vectorized text file. <ul> <li>The text file should be space-delimited. <li>Each row should be a feature vector separated by spaces. <li>If an individual feature has multiple words, use underscore to separate the words. </ul> <li>Enter an integer value for k (number of nearest neighbors). <li>Then select a word on the left panel. <li>A list of k nearest neighbors will appear on this page. <li>Optional: Select a new word to update nearest neighbors. </ol> </h4> <br /> </div> <div class="row" id="kform"> Number of nearest words to be returned: <select name="k" id="k"> <option selected="selected">5 <option>10 <option>15 <option>20 <option>30 <option>40 <option>50 </select> <!-- </div> <div> <div id="neighbors" style="text-align: left; width: 500px; display: inline-block;"> </div> <div style="text-align:center; width: 100%; position: fixed; bottom: 0px; left: 0px; margin-bottom: 15px;"> <div class="row" id="upload" style="display: inline-block; margin-right: 48px;"> <form encType="multipart/form-data" action="/word2vec/upload" method="POST" id="form"> <input name="file" type="file" style="width:300px; display: inline-block;" /> </form> </div> </div> </div> </div> </div> </div> </body> </html>

Other Java examples (source code examples)

Here is a short list of links related to this Java word2vec.ftl source code file:

Java example source code file (word2vec.ftl)

This example Java source code file (word2vec.ftl) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

css, dedede, ffffff, javascript, latest, neighbors, notify, number, optional, post, select, upload, wordvectors

The word2vec.ftl Java example source code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Nearest Neighbors

    <!-- jQuery -->
    <script src="https://code.jquery.com/jquery-2.2.0.min.js">

    <link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />

    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous" />

    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous">

    <!-- Booststrap Notify plugin-->
    <script src="/assets/bootstrap-notify.min.js">

    <link rel="stylesheet" href="/assets/css/simple-sidebar.css" />
    <link rel="stylesheet" href="/assets/css/style.css" />

    <style>
        body {
        font-family: 'Roboto', sans-serif;
        color: #333;
        font-weight: 300;
        font-size: 16px;
        }
        .hd {
        background-color: #000000;
        font-size: 18px;
        color: #FFFFFF;
        }
        .block {
        width: 250px;
        height: 350px;
        display: inline-block;
        border: 1px solid #DEDEDE;
        margin-right: 64px;
        }
        .hd-small {
        background-color: #000000;
        font-size: 14px;
        color: #FFFFFF;
        }
    </style>
    <script src="/assets/jquery-fileupload.js">
    <script src="/assets/js/nearestneighbors/w2v/app.js">
</head>

<body>
<div style="position: fixed; top:0px; left: 0px; right: 0px; z-index: 1000;">
<table style="width: 100%; padding: 5px;" class="hd">
    <tbody>
    <tr>
        <td style="width: 48px;">


my book on functional programming

 

new blog posts

 

Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.