This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def earth_radius_at_latitude(lat, unit='km'): | |
"""Calculates the earth radius at a specific latitude | |
(http://en.wikipedia.org/wiki/Earth_radius) | |
Args: | |
lat: float representing the latitude of a point | |
unit: string (km/miles) representing the measure unit | |
Returns: | |
the earth radius in the specified unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keras.models import Sequential | |
import numpy as np | |
import pandas as pd | |
from keras.utils.np_utils import to_categorical | |
from keras.layers import Dense, Dropout, Activation, Flatten | |
from keras.optimizers import Adam, SGD | |
from keras.layers.convolutional import Convolution2D, MaxPooling2D, ZeroPadding2D | |
from keras.callbacks import ModelCheckpoint, EarlyStopping | |
from PIL import Image | |
from keras.layers.normalization import BatchNormalization |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.