import tensorflow.compat.v1 as tf from tensorflow.python.framework import ops import numpy as np from sklearn.datasets import load_iris ops.reset_default_graph() 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) y_target = tf.placeholder(shape=[None,1],dtype=tf.float32) A = tf..