Variabele selectie

Introductie tot Predictive Analytics in Python

Nele Verbiest, Ph.D

Data Scientist @PythonPredictions

Kandidaatvoorspellers

  • 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
Introductie tot Predictive Analytics in Python

Variabele selectie: motivatie

Nadelen van modellen met veel variabelen:

  • Overfitting
  • Moeilijk te onderhouden of implementeren
  • Moeilijk te interpreteren, multicollineariteit
Introductie tot Predictive Analytics in Python

Modelevaluatie: AUC

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

Laten we oefenen!

Introductie tot Predictive Analytics in Python

Preparing Video For Download...