+ 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().
3 Answers
+ 3
What's ur question??
Can u plz explain.
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
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