問題タブ [feature-scaling]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
40 問題
0
投票する
0
に答える
213
参照
pandas - sklearnからfit_transformメソッドを使用しているときにValueErrorを取得する
すべての数値データを含むデータセット (乳がん検出) があり、データセットを X (すべての機能を含む) と y (出力クラス) に分割しました。データをトレーニングセットとテストセットに分割した後、私は直面しています機能スケーリングの適用に関する問題。機能スケーリングの適用時に、Value-Error: could not convert string to float: '?' が発生します。以前は -9999 でした。
# データをトレーニング データとテスト データに分割します。
#「?」の置き換え -9999 で。
#y にラベル エンコーディングを適用します。
#この後、値のエラーが発生します。データに残っていないか、カテゴリカルエンコーディングを行う必要がありますか?