Skip to content

Instantly share code, notes, and snippets.

View inotnako's full-sized avatar

Anton Konovalov inotnako

View GitHub Profile
@inotnako
inotnako / LDA_SparkDocs.scala
Created December 1, 2015 12:28 — forked from jkbradley/LDA_SparkDocs
LDA Example: Modeling topics in the Spark documentation
/*
This example uses Scala. Please see the MLlib documentation for a Java example.
Try running this code in the Spark shell. It may produce different topics each time (since LDA includes some randomization), but it should give topics similar to those listed above.
This example is paired with a blog post on LDA in Spark: http://databricks.com/blog
Spark: http://spark.apache.org/
*/
import scala.collection.mutable
@inotnako
inotnako / asymmetric.go
Last active August 29, 2015 14:14 — forked from cryptix/LICENSE
package main
// using asymmetric crypto/RSA keys
import (
"fmt"
"io/ioutil"
"log"
"net/http"