Skip to content

Instantly share code, notes, and snippets.

View jpark77's full-sized avatar

Jinsoon Jay Park jpark77

  • Concentrix Catalyst
  • Seoul
View GitHub Profile
def build_nn(model_info):
"""
This function builds and compiles a NN given a hash table of the model's parameters.
:param model_info:
:return:
"""
try:
if model_info["Regularization"] == "l2": # if we're using L2 regularization
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.