Skip to content

Instantly share code, notes, and snippets.

View skyer9's full-sized avatar
🎯
Focusing

skyer9

🎯
Focusing
View GitHub Profile
@skyer9
skyer9 / change time zone ami linux.md
Last active May 2, 2018 21:39
change time zone ami linux
$ tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
 1) Africa
 2) Americas
 3) Antarctica
 4) Arctic Ocean
 5) Asia
 6) Atlantic Ocean
@skyer9
skyer9 / ElasticSearch.template
Created September 13, 2018 02:53 — forked from ajbrown/ElasticSearch.template
AWS CloudFormation Template For ElasticSearch Cluster
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "ElasticSearch Cluster.",
"Parameters" : {
"KeyName": {
"Description" : "The name of an existing key pair to enable SSH access to Amazon EC2 instances",
"Type": "String",
@skyer9
skyer9 / word_embedding.ipynb
Created May 4, 2019 13:18
word_embedding.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skyer9
skyer9 / tfidf.py
Last active August 11, 2019 04:50
TF IDF with amazon review dataset
# -*- coding: utf-8 -*-
import pyspark
from pyspark.sql import SQLContext
# +--------------+---------+------------------+
# | doc_id| token| tfidf|
# +--------------+---------+------------------+
# |R13E0LFYMKV62T| |12.613611576441143|
# |R1QYQ8ZJ9LS8L9| high|11.634883586257445|