How to write function in python using numpy that generate a dataset…

Question Answered step-by-step How to write function in python using numpy that generate a dataset… How to write function in python using numpy that generate a dataset using a random seed, whenever the seed is the same you must return the same dataset. The dataset must include no fewer than 2 and no more than 10 features (or “X”) columns. The dataset must contain 1 target (or “Y”) column. The Y column must contain real numbers. Y values may not be hard-coded and must be generated by the X value. Each dataset must contain no fewer than 10 and no more than 1000 examples (i.e., rows).  The dataset must perform better using a linear regression that decision tree.   Computer Science Engineering & Technology Python Programming CS 7646 Share QuestionEmailCopy link Comments (0)