Skip to content

Instantly share code, notes, and snippets.

Do you even read these?

[
{
"action": "talk",
"text": "Please wait while we connect you."
},
{
"action": "connect",
"timeout": 20,
"from": "12015100650",
"endpoint": [

Keybase proof

I hereby claim:

  • I am feynmanliang on github.
  • I am feynman (https://keybase.io/feynman) on keybase.
  • I have a public key ASDISK0rUZWGgEO6xCKFhIoLWMFM9iReGIYlgD0YZukZBAo

To claim this, I am signing this object:

import org.apache.spark.ml.feature.{CountVectorizer, RegexTokenizer, StopWordsRemover}
import org.apache.spark.mllib.clustering.{LDA, OnlineLDAOptimizer}
import org.apache.spark.mllib.linalg.Vector
import sqlContext.implicits._
val numTopics: Int = 100
val maxIterations: Int = 100
val vocabSize: Int = 10000