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 / guide.md
Created February 23, 2021 13:13 — forked from rishubil/guide.md
SCE-TTS: 내 목소리로 TTS 만들기

📗 문서 주소가 https://sce-tts.github.io/ 으로 변경되었습니다.

SCE-TTS와 관련한 최신 정보는 위 주소를 참고해주세요!

아래의 내용은 이전 문서 내용입니다.


SCE-TTS: 내 목소리로 TTS 만들기

##Download CSV file from Kaggle
# https://www.kaggle.com/ehallmar/daily-historical-stock-prices-1970-2018#historical_stock_prices.csv
##Hurst Exponent
simpleHurst <- function(y){
sd.y <- sd(y)
m <- mean(y)
y <- y - m
max.y <- max(cumsum(y))
min.y <- min(cumsum(y))
install.packages("kohonen")
require(kohonen)
data <- read_csv("mac_backup/# Ph_d/19-01/파이낸스인텔리전스(IIE7561-01)/week07/2LendingClub_data_preperation.csv")
data_matrix <- as.matrix(scale(data))
mygrid = somgrid(3, 4, "hexagonal")
som_model <- supersom(data_matrix, grid = mygrid)
som_model$unit.classif
@yunho0130
yunho0130 / 04_main_Hyperparameter_Tuning.ipynb
Created November 9, 2018 04:15
Adding Multiprocessing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# -*- coding: utf-8 -*-
# Car Class
class Car:
def __init__(self, model_name):
self.model_name = model_name
# Stop
def stop(self):
# Engine Stop
print "엔진을 정지합니다."
@yunho0130
yunho0130 / Calculator2.py
Created October 16, 2018 08:06
2018-10-16
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 18 16:25:52 2018
@author: HDC_USER
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 18 16:25:52 2018
@author: HDC_USER
"""
# 함수가 실행되면 리턴값이 존재하므로
# 결과값을 사용할 수 있다.
def mul(val1, val2):
return int(val1)*int(val2)
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 18 16:25:52 2018
@author: HDC_USER
"""
print "Multiple Calculator"
num1 = raw_input("Input 1: ")
pragma solidity ^0.4.18;
// Import the MintableToken contract you just wrote.
import "./MintableToken.sol";
/** Create contract that generates your very own custom ERC20 token with minting capabilities.
* You'll be "selling" the tokens this contract generates to your classmates using your crowdsale contract.
* Make sure to inherit functionality from the MintableToken contract.
* Rename the contract file to the name of your custom token (i.e. EricToken.sol or BuidlDApps.sol or RocketCoin.sol)
*/
@yunho0130
yunho0130 / gist:ef5cb3386140df7062354cb778a60d1a
Last active July 7, 2018 05:03
HachMintedCrowdsale.sol
pragma solidity ^0.4.18;
// Import OpenZeppelin's SafeMath contract to prevent overflow/underflow security issues
// import "./SafeMath.sol";
// Import the custom token contract you just wrote.
import "./HachToken.sol";
/** This is an assignment to create a smart contract that allows you to run your own token crowdsale.
* Your contract will mint your custom token every time a purchase is made by your or your classmates.
* We've provided you with the pseudocode and some hints to guide you in the right direction.