Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Oct 11th, 2018 50 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. CREATE MODEL `kaggle_talkingdata_adtracking.talkingdata_logreg_0001`
  2. OPTIONS (
  3.   model_type='logistic_reg',
  4.   input_label_cols=['is_attributed'],
  5.   data_split_method='seq',
  6.   data_split_col='click_time'
  7. ) AS
  8. SELECT CAST(ip AS STRING) as ip,
  9.   CAST(app AS STRING) as app,
  10.   CAST(device AS STRING) as device,
  11.   CAST(os AS STRING) as os,
  12.   CAST(channel AS STRING) as channel,
  13.   CAST(EXTRACT(hour from click_time) AS STRING) as hod,
  14.   CONCAT('app_', CAST(app AS STRING), '_device_', CAST(device AS STRING)) app_x_device,
  15.   CONCAT('os_', CAST(os AS STRING), '_channel_', CAST(channel AS STRING)) os_x_channel,
  16.   click_time,
  17.   is_attributed                                                    
  18. FROM `kaggle_talkingdata_adtracking.dataset_train` ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand