📗 문서 주소가 https://sce-tts.github.io/ 으로 변경되었습니다.
SCE-TTS와 관련한 최신 정보는 위 주소를 참고해주세요!
아래의 내용은 이전 문서 내용입니다.
SCE-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 |
# -*- coding: utf-8 -*- | |
# Car Class | |
class Car: | |
def __init__(self, model_name): | |
self.model_name = model_name | |
# Stop | |
def stop(self): | |
# Engine Stop | |
print "엔진을 정지합니다." |
# -*- 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) | |
*/ |
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. |