ueError: Data is expected to be in format x
, (x,)
, (x, y)
, or (x, y, sample_weight)
, found: (array([[[0. , 0. , 0. , ..., 0. ,
0.01091962, 5.66379976],
[0. , 0. , 0. , ..., 0. ,
0.00891008, 5.80273056],
[0. , 0. , 0. , ..., 0. ,
0.01121952, 4.47420454],
...,
[0. , 0. , 0. , ..., 0.32157823,
0.03451639, 5.85469866],
[0. , 0. , 0. , ..., 0.38340074,
0.03256493, 4.66801405],
[0. , 0. , 0.04821083, ..., 0.36591038,
0.03021018, 4.75490093]]]), array([[[0. , 0.10577066, 0. , ..., 0. ,
0.23501925, 2.13398218],
[0. , 0.00573547, 0.0271025 , ..., 0.57506508,
0.37441418, 2.8519516 ],
[0. , 0.11819082, 0. , ..., 0. ,
0.27746791, 1.68458521],
...,
[0. , 0.11244684, 0. , ..., 1.91713822,
1.1689465 , 3.14420724],
[0. , 0.17454623, 0. , ..., 1.97361267,
0.98953736, 3.34797406],
[0. , 0.20306113, 0. , ..., 2.39328313,
0.85657609, 4.01752806]]]), array([[[0.42410714, 0.11607143, 0.44196429, 0.19196429, 0.35267857,
0.20535714, 0.33035714, 0.35714286, 0.34375 , 0.48660714,
0.54017857, 0.17410714, 0.61607143, 0.32589286, 0.62946429,
0.46875 , 0.41964286, 0.50446429, 0.44196429, 0.70982143,
0.46428571, 0.90178571, 0.54910714, 0.49553571, 0.54910714,
0.68303571, 0.54464286, 0.85714286, 0.40178571, 0.10267857,
0.43303571, 0.09375 , 0.375 , 0.10714286, 0.45982143,
0.08482143],
[0.41071429, 0.12053571, 0.44196429, 0.19196429, 0.34375 ,
0.20535714, 0.32142857, 0.35714286, 0.33928571, 0.48660714,
0.53125 , 0.17410714, 0.59375 , 0.32589286, 0.625 ,
0.49553571, 0.41517857, 0.51339286, 0.42857143, 0.71875 ,
0.45535714, 0.90625 , 0.53571429, 0.50446429, 0.54017857,
0.70089286, 0.54017857, 0.86160714, 0.39285714, 0.10267857,
0.42410714, 0.09821429, 0.36607143, 0.11160714, 0.45982143,
0.09375 ],
[0.41517857, 0.11607143, 0.4375 , 0.19196429, 0.34375 ,
0.20535714, 0.32589286, 0.36160714, 0.33928571, 0.48214286,
0.53125 , 0.17857143, 0.56696429, 0.32589286, 0.55357143,
0.46428571, 0.40625 , 0.51339286, 0.42410714, 0.71428571,
0.45982143, 0.90178571, 0.53571429, 0.5 , 0.53571429,
0.69196429, 0.53571429, 0.87053571, 0.39285714, 0.10267857,
0.42857143, 0.09821429, 0.36607143, 0.10714286, 0.46428571,
0.08928571],
[0.40178571, 0.12053571, 0.42857143, 0.19196429, 0.33928571,
0.20089286, 0.32589286, 0.35267857, 0.35267857, 0.47321429,
0.52232143, 0.17410714, 0.57142857, 0.31696429, 0.58482143,
0.45535714, 0.40625 , 0.5 , 0.42857143, 0.70982143,
0.45535714, 0.89732143, 0.52232143, 0.49107143, 0.52232143,
0.70535714, 0.52232143, 0.88839286, 0.38392857, 0.10714286,
0.41964286, 0.09821429, 0.35714286, 0.10714286, 0.45089286,
0.08928571],
[0.41964286, 0.11160714, 0.42410714, 0.19196429, 0.33035714,
0.20089286, 0. , 0. , 0. , 0. ,
0.52678571, 0.17857143, 0.58035714, 0.32589286, 0.60267857,
0.48214286, 0.39732143, 0.5 , 0.41517857, 0.69642857,
0.45089286, 0.90178571, 0.52232143, 0.49107143, 0.52232143,
0.68303571, 0.52232143, 0.88392857, 0.39285714, 0.08035714,
0.43303571, 0.08035714, 0.35714286, 0.09821429, 0.45982143,
0.07589286],
[0.41071429, 0.11160714, 0.42857143, 0.1875 , 0.33928571,
0.19642857, 0.32589286, 0.35267857, 0. , 0. ,
0.51785714, 0.17410714, 0.55803571, 0.29017857, 0. ,
0. , 0.39732143, 0.48214286, 0.41964286, 0.68303571,
0.44642857, 0.89285714, 0.52232143, 0.47321429, 0.52232143,
0.67410714, 0.53125 , 0.88839286, 0.38839286, 0.09375 ,
0.42410714, 0.08482143, 0.36160714, 0.09821429, 0.45535714,
0.08035714],
[0.41071429, 0.11160714, 0.44642857, 0.19642857, 0.35267857,
0.20982143, 0.33035714, 0.35714286, 0.36607143, 0.47767857,
0.53571429, 0.18303571, 0.58482143, 0.32589286, 0.61160714,
0.48214286, 0.41071429, 0.48660714, 0.41964286, 0.6875 ,
0.44642857, 0.88839286, 0.53125 , 0.47321429, 0.52678571,
0.67410714, 0.53125 , 0.87946429, 0.38392857, 0.08928571,
0.42410714, 0.08035714, 0.36607143, 0.10714286, 0.45535714,
0.07142857],
[0.41071429, 0.12053571, 0.45089286, 0.19196429, 0.36160714,
0.20535714, 0. , 0. , 0. , 0. ,
0.52678571, 0.17857143, 0.58035714, 0.32589286, 0.61607143,
0.49553571, 0.41071429, 0.48660714, 0.41517857, 0.6875 ,
0.44642857, 0.88392857, 0.52678571, 0.47767857, 0.53125 ,
0.68303571, 0.53571429, 0.875 , 0.39285714, 0.10714286,
0.42857143, 0.09821429, 0.36607143, 0.10714286, 0.45535714,
0.08482143],
[0.41964286, 0.12053571, 0.44196429, 0.19642857, 0.34375 ,
0.20535714, 0. , 0. , 0. , 0. ,
0.53571429, 0.1875 , 0.60267857, 0.33482143, 0.61160714,
0.48214286, 0.375 , 0.49107143, 0.41517857, 0.69642857,
0.44196429, 0.89285714, 0.51785714, 0.49107143, 0.52232143,
0.6875 , 0. , 0. , 0.40178571, 0.10714286,
0.43303571, 0.10267857, 0.375 , 0.11607143, 0.46428571,
0.09375 ],
[0.42410714, 0.125 , 0.46428571, 0.19642857, 0.375 ,
0.20982143, 0.34375 , 0.35714286, 0.39732143, 0.49553571,
0.55357143, 0.18303571, 0.60714286, 0.33928571, 0.61160714,
0.49107143, 0.41071429, 0.5 , 0.42410714, 0.69642857,
0.44642857, 0.88839286, 0.54017857, 0.49553571, 0.55357143,
0.69642857, 0.54017857, 0.88839286, 0.40625 , 0.11160714,
0.44196429, 0.10714286, 0.38392857, 0.11607143, 0.47767857,
0.09821429],
[0.43303571, 0.08928571, 0.45982143, 0.19642857, 0.37053571,
0.20535714, 0.34821429, 0.35714286, 0. , 0. ,
0.54910714, 0.1875 , 0.60714286, 0.34821429, 0. ,
0. , 0.41071429, 0.52232143, 0. , 0. ,
0. , 0. , 0.54464286, 0.51785714, 0. ,
0. , 0. , 0. , 0.41517857, 0.07142857,
0.45089286, 0.07142857, 0.38839286, 0.09375 , 0.48214286,
0.08482143],
[0.44642857, 0.08928571, 0.46875 , 0.1875 , 0.375 ,
0.19642857, 0.35267857, 0.34821429, 0.37946429, 0.48214286,
0.55803571, 0.17410714, 0.60267857, 0.33035714, 0.61607143,
0.48214286, 0.41517857, 0.5 , 0.42410714, 0.6875 ,
0.44642857, 0.88839286, 0.54464286, 0.5 , 0.55357143,
0.69196429, 0. , 0. , 0.42410714, 0.07142857,
0.45982143, 0.07142857, 0.39732143, 0.08928571, 0.48660714,
0.08035714],
[0.44642857, 0.10714286, 0.47767857, 0.18303571, 0.38392857,
0.1875 , 0.36160714, 0.34375 , 0.39285714, 0.48214286,
0.56696429, 0.17410714, 0.60714286, 0.33035714, 0.60714286,
0.48214286, 0.43303571, 0.49553571, 0.42410714, 0.69196429,
0.43303571, 0.89285714, 0.55357143, 0.5 , 0.53571429,
0.69642857, 0.53571429, 0.89285714, 0.42410714, 0.08928571,
0.46428571, 0.08035714, 0.39732143, 0.09821429, 0.49107143,
0.07589286],
[0.46875 , 0.11160714, 0.48214286, 0.20089286, 0.37946429,
0.20982143, 0.35714286, 0.35714286, 0.40625 , 0.48214286,
0.57142857, 0.19196429, 0.60714286, 0.33928571, 0.61160714,
0.49107143, 0.43303571, 0.5 , 0.42857143, 0.69642857,
0.43303571, 0.88392857, 0.55357143, 0.49553571, 0.54910714,
0.70535714, 0.53571429, 0.91071429, 0.44642857, 0.09821429,
0.48660714, 0.08928571, 0.41071429, 0.09821429, 0.50892857,
0.08482143],
[0.46875 , 0.11160714, 0.47321429, 0.19196429, 0.37946429,
0.19642857, 0.35714286, 0.35714286, 0.39285714, 0.49107143,
0.56696429, 0.18303571, 0.60267857, 0.33482143, 0.59821429,
0.49107143, 0.42857143, 0.49107143, 0.41517857, 0.69196429,
0.41964286, 0.87053571, 0.54910714, 0.48660714, 0.54017857,
0.6875 , 0.52678571, 0.89732143, 0.44642857, 0.09821429,
0.48214286, 0.08928571, 0.41071429, 0.09821429, 0.51339286,
0.08928571]]]), array([[[ 0., 0., 1., 1.],
[ 2., 0., 3., 2.],
[ 3., 0., 4., 3.],
[ 5., 0., 6., 4.],
[ 6., 0., 7., 5.],
[ 8., 0., 9., 6.],
[ 9., 0., 10., 6.],
[11., 0., 12., 7.],
[12., 0., 13., 8.],
[14., 0., 15., 9.],
[15., 0., 16., 10.],
[17., 0., 17., 11.],
[20., 0., 20., 12.],
[22., 0., 21., 12.],
[25., 0., 24., 13.]]]), array([[[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.],
[4.]]]))
您好,在程序运行过程中出现了这个问题,该如何解决?