Výběr proměnných

Introduction to Predictive Analytics in Python

Nele Verbiest, Ph.D

Data Scientist @PythonPredictions

Kandidátní prediktory

  • age
  • max_gift
  • income_low
  • min_gift, mean_gift, median_gift
  • country_USA, country_India, country_UK
  • number_gift_min50, number_gift_min100, number_gift_min150
Introduction to Predictive Analytics in Python

Výběr proměnných: motivace

Nevýhody modelů s mnoha proměnnými:

  • Přetrénování
  • Obtížná údržba a implementace
  • Obtížná interpretace, multikolinearita
Introduction to Predictive Analytics in Python

Hodnocení modelu: AUC

import numpy as np
from sklearn.metrics import roc_auc_score
roc_auc_score(true_target, prob_target)
Introduction to Predictive Analytics in Python

Pojďme si procvičit!

Introduction to Predictive Analytics in Python

Preparing Video For Download...