0
私は機械学習の初心者ですが、愚かな間違いがあるかもしれません。Word2Vector ValueError:スキャターでx桁の数値が必要です
コードスニペット以下を実行しながら、私はエラーを取得しています:
def plot_region(x_bounds, y_bounds):
slice = points[
(x_bounds[0] <= points.x) &
(points.x <= x_bounds[1]) &
(y_bounds[0] <= points.y) &
(points.y <= y_bounds[1])
]
ax = slice.plot.scatter("x", "y", s=35, figsize=(10, 8))
for i, point in slice.iterrows():
ax.text(point.x + 0.005, point.y + 0.005, point.word, fontsize=11)
plot_region(x_bounds=(4.0,4.2),y_bounds=(-0.5,-0.1))
plot_region(x_bounds=(0, 1), y_bounds=(4, 4.5))
とValueError:散乱は何があるだけのこと...コードと間違っ
あなたのコードを誰かが理解できるようにインデントしてください。 – Jarad
インデントされたコードを見つけてください。 – user3976980