Skip to content

Instantly share code, notes, and snippets.

View liyaguang's full-sized avatar

YaGuang liyaguang

View GitHub Profile
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
from keras import backend as K
from lib.metrics import masked_mse_tf, masked_mape_tf, masked_mae_tf
@liyaguang
liyaguang / hyperopt_deom.py
Created March 16, 2017 20:38
Hyperparameter tuning using HyperOpt
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import json
import keras.backend as K
import logging
import math
import matplotlib.pyplot as plt
/**
* Created by Yaguang on 12/14/2016.
*/
public class Main {
static class Node {
char c;
int n;
Node[] children;