n = int(input()) X = [] for i in range(n): X.append([float(x) for x in input().split()]) y = [int(x) for x in input(). | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

n = int(input()) X = [] for i in range(n): X.append([float(x) for x in input().split()]) y = [int(x) for x in input().

15th Apr 2021, 6:40 AM
Priyanka
Priyanka - avatar
3 Answers
+ 3
What's ur question?? Can u plz explain.
15th Apr 2021, 6:49 AM
Kǟrɨsɦmǟ ❥
Kǟrɨsɦmǟ ❥ - avatar
0
Input Format First line: Number of data points in the feature matrix (n) Next n lines: Values of the row in the feature matrix, separated by spaces Next line: Target values separated by spaces Final line: Values (separated by spaces) of a single datapoint without a target value Output Format Either 1 or 0 Sample Input 6 1 3 3 5 5 7 3 1 5 3 7 5 1 1 1 0 0 0 2 4
15th Apr 2021, 6:52 AM
Priyanka
Priyanka - avatar
0
Your question is incomplete. And code is truncated. Add it in description place or save in playground n share link here.. Add full question of what you trying by this code... see this : https://www.sololearn.com/post/75089/?ref=app
15th Apr 2021, 1:59 PM
Jayakrishna 🇮🇳