home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (index.ftl)

This example Java source code file (index.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

deeplearning4j, enter, nearest, neighbors, post, select, submit

The index.ftl Java example source code

<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <title>Nearest Neighbors
    <link rel="stylesheet" href="/assets/bootstrap-3.3.4-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/bootstrap-3.3.4-dist/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="/assets/css/simple-sidebar.css">
    <link rel="stylesheet" href="/assets/css/style.css">
    <script src="https://code.jquery.com/jquery-2.1.3.min.js">
    <script src="/assets/jquery-fileupload.js">
    <script src="/assets/bootstrap-3.3.4-dist/js/bootstrap.min.js">
    <script src="/assets/js/nearestneighbors/app.js">

<div id="container">
    <div id="wrapper">

        <div id="sidebar-wrapper">
<div id="page-content-wrapper"> <div class="container-fluid"> <h1 style="text-align: center; font-size: 400%">Deeplearning4j <hr> <h2>k Nearest Neighbors <ul> <li>Upload a vectorized text file. OR enter a url to get data from. <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. <br> <div class="row" id="upload"> <form encType="multipart/form-data" action="/nearestneighbors/upload" method="POST" id="form"> <input name="file" type="file"> <br> <input type="submit"> </form> </div> <div class="row" id="url"> <label for="url">Enter a url <input type="text" id="urlval"> <button value="Submit" id="urlsubmit">Submit </div> <div class="row" id="kform"> Enter an integer value for k: <input type="text" name="k" id="k" value="5"> </div> <div id="neighbors"> </div> </div> </div> </div> </div> </body> </html>

Other Java examples (source code examples)

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

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.