Skip to content

Instantly share code, notes, and snippets.

View nanto88's full-sized avatar
🎯
Focusing

Leksono Nanto P nanto88

🎯
Focusing
View GitHub Profile
@nanto88
nanto88 / text_classification_ulmfit.ipynb
Last active February 4, 2019 04:18
Text Classification with library fastai and pretrained ULMFIt in google colab
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nanto88
nanto88 / kmeansExample.py
Created October 27, 2017 10:16 — forked from iandanforth/kmeansExample.py
A pure python implementation of K-Means clustering. Optional cluster visualization using plot.ly.
#############################################################################
# Full Imports
import math
import random
"""
This is a pure Python implementation of the K-Means Clustering algorithmn. The
original can be found here:
http://pandoricweb.tumblr.com/post/8646701677/python-implementation-of-the-k-means-clustering