Skip to content

Instantly share code, notes, and snippets.

View yunho0130's full-sized avatar
🎯
Focusing

Yunho Maeng yunho0130

🎯
Focusing
View GitHub Profile
@yunho0130
yunho0130 / Week1_.idea_.name
Created July 25, 2014 06:45
Bit Computer Python lecture week 1 by Yunho Maeng
day1
@yunho0130
yunho0130 / gist:45ad5479f4f98ec62263
Created September 8, 2014 10:34
github μ½”λ“œ μ‚½μž… ν…ŒμŠ€νŠΈ
/* μ‚¬μš©μž 정보 ν…Œμ΄λΈ” */
create table tbl_yh_UserInfo
(userid varchar2(20),
userName varchar2(20),
accountNum varchar2(50),
PhoneNum varchar2(20),
testdate varchar2(30) default sysdate,
totalmoney NUMBER,
NumOfRA NUMBER
);
# 2016-03-28 Yunho Maeng
# Assignment 1 : Wine Quality
# if you didn't install package, you can use below code
# install.packages("ggplot2");
# install.packages("dplyr");
# install.packages("gridExtra")
# install.packages("GGally")
# install.packages("reshape2")
# install.packages("doBy")
# 2016-04-18 Yunho Maeng
# Assignment 2 : Wine Quality
# if you didn't install package, you can use below code
# install.packages("ggplot2");
# install.packages("dplyr");
# install.packages("gridExtra")
# install.packages("GGally")
# install.packages("reshape2")
# install.packages("doBy")
@yunho0130
yunho0130 / Topicmodeling.R
Last active February 10, 2017 13:48
2016-07-26
install.packages("tm")
library(tm)
#mobile
news <- read.csv("mobile2014.csv",stringsAsFactors=F)
news.corpus <- Corpus(VectorSource(news$x))
news.corpus <- tm_map(news.corpus, stemDocument, language = "english")
tdm <- TermDocumentMatrix(news.corpus,
control = list(removeNumbers = T,
import tensorflow as tf
import numpy as np
# 데이터셋
IRIS_TRAINING = "/Users/Yunho/Desktop/iris_data/iris_char_training.csv"
IRIS_TEST = "/Users/Yunho/Desktop/iris_data/iris_char_test.csv"
# 데이터셋을 λΆˆλŸ¬μ˜΅λ‹ˆλ‹€.
#load_csv_with_header(
package yunho.com;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Scanner;
public class Main {
@yunho0130
yunho0130 / 161026_k-mean.R
Created October 26, 2016 03:03
k-mean을 ν™œμš©ν•œ ν΄λŸ¬μŠ€ν„°λ§(Clustering)을 R을 ν™œμš©ν•œ 예제 μž…λ‹ˆλ‹€.
# Reference Address
# http://datascienceplus.com/k-means-clustering-in-r/
# iris 데이터λ₯Ό ν™œμš©
library(datasets)
head(iris)
# ggplot2둜 μ‹œκ°ν™”
library(ggplot2)
ggplot(iris, aes(Petal.Length, Petal.Width, color = Species)) + geom_point()
@yunho0130
yunho0130 / gist:1f8138c9ac05dc7f955d6fcf3ab722ca
Created November 15, 2016 04:15 — forked from ihoneymon/how-to-write-by-markdown.md
λ§ˆν¬λ‹€μš΄ μ‚¬μš©λ²•

[곡톡] λ§ˆν¬λ‹€μš΄ markdown μž‘μ„±λ²•

1. λ§ˆν¬λ‹€μš΄μ— κ΄€ν•˜μ—¬

1.1. λ§ˆν¬λ‹€μš΄μ΄λž€?

**Markdown**은 ν…μŠ€νŠΈ 기반의 λ§ˆν¬μ—…μ–Έμ–΄λ‘œ 2004λ…„ 쑴그루버에 μ˜ν•΄ λ§Œλ“€μ–΄μ‘ŒμœΌλ©° μ‰½κ²Œ μ“°κ³  읽을 수 있으며 HTML둜 λ³€ν™˜μ΄ κ°€λŠ₯ν•˜λ‹€. νŠΉμˆ˜κΈ°ν˜Έμ™€ 문자λ₯Ό μ΄μš©ν•œ 맀우 κ°„λ‹¨ν•œ ꡬ쑰의 문법을 μ‚¬μš©ν•˜μ—¬ μ›Ήμ—μ„œλ„ 보닀 λΉ λ₯΄κ²Œ 컨텐츠λ₯Ό μž‘μ„±ν•˜κ³  보닀 μ§κ΄€μ μœΌλ‘œ 인식할 수 μžˆλ‹€. λ§ˆν¬λ‹€μš΄μ΄ 졜근 각광받기 μ‹œμž‘ν•œ μ΄μœ λŠ” κΉƒν—™(https://github.com) 덕뢄이닀. κΉƒν—™μ˜ μ €μž₯μ†ŒRepository에 κ΄€ν•œ 정보λ₯Ό κΈ°λ‘ν•˜λŠ” README.mdλŠ” 깃헙을 μ‚¬μš©ν•˜λŠ” μ‚¬λžŒμ΄λΌλ©΄ λˆ„κ΅¬λ‚˜ κ°€μž₯ λ¨Όμ € μ ‘ν•˜κ²Œ λ˜λŠ” λ§ˆν¬λ‹€μš΄ λ¬Έμ„œμ˜€λ‹€. λ§ˆν¬λ‹€μš΄μ„ ν†΅ν•΄μ„œ μ„€μΉ˜λ°©λ²•, μ†ŒμŠ€μ½”λ“œ μ„€λͺ…, 이슈 등을 κ°„λ‹¨ν•˜κ²Œ κΈ°λ‘ν•˜κ³  가독성을 높일 수 μžˆλ‹€λŠ” 강점이 λΆ€κ°λ˜λ©΄μ„œ 점점 μ—¬λŸ¬ 곳으둜 νΌμ Έκ°€κ²Œ λœλ‹€.

1.2. λ§ˆν¬λ‹€μš΄μ˜ μž₯-단점

1.2.1. μž₯점

@yunho0130
yunho0130 / tensorflow_cuda_osx.md
Created November 15, 2016 05:02 — forked from Mistobaan/tensorflow_cuda_osx.md
How to enable cuda support for tensor flow on Mac OS X (Updated on April:2016 Tensorflow 0.8)

These instructions will explain how to install tensorflow on mac with cuda enabled GPU suport. I assume you know what tensorflow is and why you would want to have a deep learning framework running on your computer.

Prerequisites

Make sure to update your homebrew formulas

brew update