Skip to content

Instantly share code, notes, and snippets.

Jun Li lasclocker

Block or report user

Report or block lasclocker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gangliao /
Last active Mar 6, 2020
Using Tensorflow's to load data from HDFS
import tensorflow as tf
filenames = ["hdfs://"]
dataset =
iterator = dataset.make_one_shot_iterator()
next_batch = iterator.get_next()
mdespriee / LDAIncrementalExample.scala
Created Jun 29, 2017
Example of how to build LDA incrementally in Spark, with comparison to one-shot learning.
View LDAIncrementalExample.scala
// This code is related to PR
// I show how to use the setInitialModel() param of LDA to build a model incrementally,
// and I compare the performance (perplexity) with a model built in one-shot
import scala.collection.mutable
import{Pipeline, PipelineModel}
import{LDA, LDAModel}
You can’t perform that action at this time.