予想に使用するデータについて - poi-ai/keibaAI GitHub Wiki

無料で競馬の情報を公開しているWebサイトから取れるデータの種類は大きく分けて5つに分けられる。

  • レース概要データ → コース情報や馬場状態などレースのデータ
  • レース出走馬データ → 馬体重や斤量、騎手など、レースによって変動する出走馬のデータ
  • 競走馬データ → 血統や生産国など、レースによって変動しない競走馬固有のデータ
  • レース結果データ → 先頭馬ラップタイプなど、レース全体の結果データ
  • 出走馬結果データ → 着順、上り3Fなど各出走馬の結果データ

下記に雑に箇条書きしていく

JBIS

  • レース概要データ

    • race_name(レース名)
    • race_class(レースのクラス)
    • race_type(レース馬場区分[芝/ダート])
    • distance(距離)
    • age_term(出走条件[馬齢])
    • country_term(出走条件[国籍])
    • local_term(出走条件[地方馬])
    • load_type(斤量種別)
    • gender_term(出走条件[性別])
    • first_prize(1着賞金)
    • second_prize(2着賞金)
    • third_prize(3着賞金)
    • fourth_prize(4着賞金)
    • fifth_prize(5着賞金)
    • weather(天候) ※結果ページのみ
    • grass_condition(芝の馬場状態) ※結果ページのみ
    • dirt_condition(ダートの馬場状態) ※結果ページのみ
  • レース出走馬データ

    • horse_no(馬番)
    • frame_no(枠番)
    • gender(性別)
    • age(馬齢)
    • trainer_id(調教師のJBISID)
    • trainer_name(調教師名)
    • trainer_belong(調教師の所属)
    • jockey_id(騎手のJBISID)
    • jockey_name(騎手名)
    • load(斤量)
    • owner_id(馬主のJBISID)
    • owner_name(馬主名)
    • popular(単勝人気) ※結果ページのみ
    • weight(馬体重) ※結果ページのみ
    • weight_change(馬体重増減) ※結果ページのみ
  • 競走馬データ

    • hair_color(毛色)
    • horse_id(JBIS競走馬ID)
    • horse_name(馬名)
    • breeder_id(生産牧場のJBISID)
    • breeder_name(生産牧場名)
    • father_id(父のJBIS競走馬ID)
    • father_name(父の名前)
    • mother_id(母のJBIS競走馬ID)
    • mother_name(母の名前)
    • mf_id(母父のJBIS競走馬ID)
    • mf_name(母父の名前)
    • country(生産国)
    • ff_id(父父のJBIS競走馬ID) ※競走馬ページのみ
    • ff_name(父父の名前) ※競走馬ページのみ
    • fm_id(父母のJBIS競走馬ID) ※競走馬ページのみ
    • fm_name(父母の名前) ※競走馬ページのみ
    • mm_id(母母のJBIS競走馬ID) ※競走馬ページのみ
    • mm_name(母母の名前) ※競走馬ページのみ
    • birth_place(生産地) ※競走馬ページのみ
    • select_sale_year(セレクトセールが行われた年) ※レース結果/競走馬ページのみ?
    • select_sale_id(取引されたセレクトセールのJBISID) ※レース結果/競走馬ページのみ?
    • select_sale_name(取引されたセレクトセール名) ※レース結果/競走馬ページのみ?
    • select_sale_price(セレクトセールでの取引額) ※レース結果/競走馬ページのみ?
  • レース結果データ

    • agari_4f(先頭馬上がり4F)
    • agari_3f(先頭馬上がり3F)
    • lap_time(先頭馬ラップタイム)
    • corner1_rank(第1コーナーの通過順位)
    • corner2_rank(第2コーナーの通過順位)
    • corner3_rank(第3コーナーの通過順位)
    • corner4_rank(第4コーナーの通過順位)
  • 出走馬結果データ

    • rank(着順)
    • goal_time(走破タイム)
    • diff(着差)
    • pass_rank(コーナー通過順位)
    • agari(上がり3F)
    • sp_shisu(スピード指数)

netkeiba

  • レース概要データ
  • レース出走馬データ
  • 競走馬データ
  • レース結果データ
  • 出走馬結果データ

race_info['race_date'] race_info['race_time'] race_info['distance'] race_info['race_type'] race_info['baba'] race_info['glass_condition'] race_info['dirt_condition'] race_info['in_out'] race_info['weather'] race_info['baba_id'] race_info['hold_date'] race_info['require_age'] race_info['race_class'] race_info['race_name'] race_info['grade'] race_info['require_country'] race_info['require_gender'] race_info['require_local'] race_info['require_beginner_jockey'] race_info['load_kind'] race_info['regist_num'] race_info['run_num'] race_info['first_prize'] race_info['second_prize'] race_info['third_prize'] race_info['fourth_prize'] race_info['fifth_prize']

horse_info['race_id'] horse_info['belong'] horse_info['country'] horse_info['father'] horse_info['mother'] horse_info['grandfather'] horse_info['trainer_belong'] horse_info['trainer'] horse_info['trainer_id'] horse_info['blank'] horse_info['running_type'] horse_info['weight'] horse_info['weight_change'] horse_info['horse_no'] horse_info['frame_no'] horse_info['gender'] horse_info['age'] horse_info['hair_color'] horse_info['jockey_id'] horse_info['jockey'] horse_info['jockey_change'] horse_info['load']

TODO JBIS/race_tableからセレクトセール情報はとれない?