Word cloud implementation.
Example of how to
-
Change style from default. Uses linear scale
-
Alter word size
-
"Fit" it into the screen. At first the words were appearing out of view to the left.
class AttentionLSTM(LSTM): | |
"""LSTM with attention mechanism | |
This is an LSTM incorporating an attention mechanism into its hidden states. | |
Currently, the context vector calculated from the attended vector is fed | |
into the model's internal states, closely following the model by Xu et al. | |
(2016, Sec. 3.1.2), using a soft attention model following | |
Bahdanau et al. (2014). | |
The layer expects two inputs instead of the usual one: |
ELECTRIC SKILLET TEMPERATURE–TIMETABLE | |
Food: degrees (approximate cooking time in minutes) | |
FRYING | |
Bacon: 300 to 325 (8-10 minutes) | |
Canadian Bacon: 275 to 300 (3-4 minutes) | |
Chicken: 325 to 350 (25-40 minutes) | |
Eggs, Fried: 250 to 275 (3-5 minutes) | |
Eggs, Scrambled: 250 to 275 (3-5 minutes) | |
Fish: 325 to 375 (5-10 minutes) |
Word cloud implementation.
Example of how to
Change style from default. Uses linear scale
Alter word size
"Fit" it into the screen. At first the words were appearing out of view to the left.
date | close | |
---|---|---|
26-Mar-12 | 606.98 | |
27-Mar-12 | 614.48 | |
28-Mar-12 | 617.62 | |
29-Mar-12 | 609.86 | |
30-Mar-12 | 599.55 | |
2-Apr-12 | 618.63 | |
3-Apr-12 | 629.32 | |
4-Apr-12 | 624.31 | |
5-Apr-12 | 633.68 |
This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.
Compare this display to a force layout with curved links, a force layout with fisheye distortion and a matrix diagram.
// Restify server config here | |
var restify = require('restify'); | |
var server = restify.createServer({ | |
name: 'restify-test', | |
version: '1.0.0' | |
}); | |
function respond(req, res, next) { | |
res.send('hello ' + req.params.name); | |
next(); |
// Based off example code from Hal Robertson | |
// https://github.com/halrobertson/test-restify-passport-facebook | |
// See discussion: https://groups.google.com/forum/?fromgroups#!topic/passportjs/zCz0nXB_gao | |
var restify = require('restify') | |
// config vars | |
var FB_LOGIN_PATH = '/api/facebook_login' | |
var FB_CALLBACK_PATH = '/api/facebook_callback' | |
var FB_APPID = '<<YOUR APPID HERE>>' |
"currency.xml" | |
"index_synonyms.txt" | |
"lang/contractions_ca.txt" | |
"lang/contractions_fr.txt" | |
"lang/contractions_ga.txt" | |
"lang/contractions_it.txt" | |
"lang/hyphenations_ga.txt" | |
"lang/stemdict_nl.txt" | |
"lang/stoptags_ja.txt" | |
"lang/stopwords_ar.txt" |
{ "path": "/content/geometrixx/my-first-jinja-page", | |
"properties": [ | |
{ "name": "jcr:primaryType", | |
"value": "cq:Page" }], | |
"nodes": [ | |
{ "path": "jcr:content", | |
"properties": [ | |
{ "name": "jcr:primaryType", | |
"value": "cq:PageContent"}, |
<!-- Highlighting Component | |
http://wiki.apache.org/solr/HighlightingParameters | |
--> | |
<searchComponent class="solr.HighlightComponent" name="highlight"> | |
<highlighting> | |
<!-- Configure the standard fragmenter --> | |
<!-- This could most likely be commented out in the "default" case --> | |
<fragmenter name="gap" | |
default="true" |