Tensorflow로 구현한 Lasso, Ridge
def regulRegresor(y, X, RegType, Rconst): regression_type = RegType # LASSO, Ridge num_cols = X.shape[1] x_data = tf.placeholder(shape=[None, num_cols], dtype=tf.float32, name='Input') #Input(feature) y_target = tf.placeholder(shape=[None,1],dtype=tf.float32, name='Output') #Output(label) A = tf.Variable(tf.random_normal(shape=[num_cols,1]),name =Weight) # Weight Vector b = tf.Variable(tf.random..