一通りモデル構築やデータクレンジングの方法が理解できたので、データ分析コンペで上位に入るために試行錯誤の記録を残します。 現在の順位(Publicスコア)は43位。20位以内を目指します。 今日はアンサンブルを試してみる。RF、XGboost、lightGBMの3つの ...
自分で辞書を作らずエンコードする方法には、機械学習の前処理機能のscikit_learnのLabelEncoderがあります。 前記事と同じデータフレームを使用して、 Colorのデータをエンコードするには、以下のコードとなります。 from sklearn.preprocessing import LabelEncoder color_le ...
I used LabelEncoder to transform categorical feature to numerical feature. But my test set data has new labels that are not fit in the training set. So LabelEncoder ...
We are using this package for a long time at production with python 2.7 with the following code: ai-model-infra==0.1 awscli==1.16.300 beautifulsoup4==4.7.1 boto==2.49.0 boto3==1.10.36 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する