This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var i2c = require('i2c-bus'); | |
// Also works with BMP280 but returns 0 for humidity since that chip doesnt have humidity | |
// http://www.adafruit.com/datasheets/BST-BME280-DS001-11.pdf | |
var BME280 = function(options) { | |
options = options || {}; | |
this.bus = (options.bus===undefined)?1:options.bus; | |
this.debug = options.debug || false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<div> | |
This tests creating a sentence simularity index using tensorflow and then searching it. | |
It takes about 10s to generate the index using content from www.hlx.live containing 77 pages, and 5s to query that data with | |
1 sentence "Tell me about everything", indicating that a page in that site knows about everything. | |
OlderNewer