Skip to content

Instantly share code, notes, and snippets.

Ewen Wang Ewen2015

Block or report user

Report or block Ewen2015

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Ewen2015 /
Created Dec 12, 2018 — forked from damienpontifex/
A template for a custom tensorflow estimator and experiment with python3 typings for desired parameter types
import argparse
import psutil
import tensorflow as tf
from typing import Dict, Any, Callable, Tuple
## Data Input Function
def data_input_fn(data_param,
shuffle=False) -> Callable[[], Tuple]:
"""Return the input function to get the test data.
View preProcess.R
trans = preProcess(X, c("BoxCox", "center", "scale"))
predictorsTrans = data.frame(trans = predict(trans, X))
View pymodule.sublime-snippet
# =============================================================
# Basic
import os
# Fundamental Libraries for Scientific Computing
import numpy as np
import pandas as pd
import scipy as sp
You can’t perform that action at this time.