Skip to content

Instantly share code, notes, and snippets.

#-*-coding: utf-8-*-
# Index
## 1. Data Import
## 2. Data Preprocessing
## 3. Data Analysis - RFM Index Calculation
import numpy as np
import pandas as pd
import datetime
#-*-coding:utf-8-*-
from keras.datasets import boston_housing
from keras.models import Sequential
from keras.layers import Activation, Dense
from keras import optimizers
(X_train, y_train), (x_test, y_test) = boston_housing.load_data()
model = Sequential()
@ur0n2
ur0n2 / Doskey_Alias_Setting.cmd
Last active April 1, 2020 23:56
Doskey_Alias_Setting.cmd
::2017. 03. 10
::LeeJunHwan
::This commands make to linux environment on Windows OS
::But, We have powershell... and bash shell on windows 10
::Just For Fun!!!
@echo off
doskey ls = dir /W /P $*
doskey ll = dir /A /P $*
doskey cp = copy $*
@ur0n2
ur0n2 / Flash_Player_Remover_on_Win10.bat
Created June 8, 2017 01:44
Flash_Player_Remover_on_Win10.bat
echo off
cls
echo [-] Flash Player Remover for Windows 10 with Edge Browser.
takeown /f C:\Windows\SysWOW64\Macromed\Flash\*.*
takeown /f C:\Windows\System32\Macromed\Flash\*.*
cacls C:\Windows\SysWOW64\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
cacls C:\Windows\System32\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
@ur0n2
ur0n2 / clip.py
Created May 10, 2017 14:12
Clipboard copy & paste with python
import sys
import ctypes
OpenClipboard = ctypes.windll.user32.OpenClipboard
EmptyClipboard = ctypes.windll.user32.EmptyClipboard
GetClipboardData = ctypes.windll.user32.GetClipboardData
SetClipboardData = ctypes.windll.user32.SetClipboardData
CloseClipboard = ctypes.windll.user32.CloseClipboard
CF_UNICODETEXT = 13