Prédire les achats des visiteurs via un modèle de classification dans BigQuery ML avis
108756 avis
The model creation query provided at Task 7(2) is incorrect. Here is the correct query: CREATE OR REPLACE MODEL `ecommerce.classification_model_2` OPTIONS (model_type='logistic_reg', labels = ['will_buy_on_return_visit']) AS WITH all_visitor_stats AS ( SELECT fullvisitorid, IF(COUNTIF(totals.transactions > 0 AND totals.newVisits IS NULL) > 0, 1, 0) AS will_buy_on_return_visit FROM `data-to-insights.ecommerce.web_analytics` GROUP BY fullvisitorid ) # add in new features SELECT * EXCEPT(unique_session_id) FROM ( SELECT CONCAT(fullvisitorid, CAST(visitId AS STRING)) AS unique_session_id, # labels will_buy_on_return_visit, MAX(CAST(h.eCommerceAction.action_type AS INT64)) AS latest_ecommerce_progress, # behavior on the site IFNULL(totals.bounces, 0) AS bounces, IFNULL(totals.timeOnSite, 0) AS time_on_site, IFNULL(totals.pageviews, 0) AS pageviews, # where the visitor came from trafficSource.source, trafficSource.medium, channelGrouping, # mobile or desktop device.deviceCategory, # geographic IFNULL(geoNetwork.country, "") AS country FROM `data-to-insights.ecommerce.web_analytics`, UNNEST(hits) AS h JOIN all_visitor_stats USING(fullvisitorid) WHERE 1=1 # only predict for new visits AND totals.newVisits = 1 AND date BETWEEN '20160801' AND '20170430' # train 9 months GROUP BY unique_session_id, will_buy_on_return_visit, bounces, time_on_site, pageviews, trafficSource.source, trafficSource.medium, channelGrouping, device.deviceCategory, country );
Chowdhury Mohammad I. · Examiné il y a environ 3 ans
Aakriti G. · Examiné il y a environ 3 ans
Soham C. · Examiné il y a environ 3 ans
Shriya H. · Examiné il y a environ 3 ans
Tadatoshi S. · Examiné il y a environ 3 ans
Shantanu M. · Examiné il y a environ 3 ans
Pulkit G. · Examiné il y a environ 3 ans
nnm
BABLU G. · Examiné il y a environ 3 ans
Yalla. B. · Examiné il y a environ 3 ans
Jeanie S. · Examiné il y a environ 3 ans
nice
Pankaj k. · Examiné il y a environ 3 ans
SAGAR D. · Examiné il y a environ 3 ans
great session
Egu A. · Examiné il y a environ 3 ans
Benjamin S. · Examiné il y a environ 3 ans
Muhammad Talha K. · Examiné il y a environ 3 ans
Suman R. · Examiné il y a environ 3 ans
nice
Soumya sahil S. · Examiné il y a environ 3 ans
AADITYA J. · Examiné il y a environ 3 ans
George Henrique S. · Examiné il y a environ 3 ans
Shubhdeep S. · Examiné il y a environ 3 ans
Biswatosh M. · Examiné il y a environ 3 ans
Madhav Kumar C. · Examiné il y a environ 3 ans
Ved M. · Examiné il y a environ 3 ans
Palak G. · Examiné il y a environ 3 ans
SHIHAB S. · Examiné il y a environ 3 ans
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.