Predict Visitor Purchases with a Classification Model in BigQuery ML Reviews

108754 reviews

Mohan C. · Reviewed около 3 лет ago

Sahil K. · Reviewed около 3 лет ago

SNEHA J. · Reviewed около 3 лет ago

This was probably the most interesting lab I have done so far. I enjoyed how the sections were clearly explained and sufficient time was given to complete the lab.

Pranamya R. · Reviewed около 3 лет ago

chaitanya b. · Reviewed около 3 лет ago

Deepak M. · Reviewed около 3 лет ago

RUSHABH A. · Reviewed около 3 лет ago

Shubhada S. · Reviewed около 3 лет ago

Charul G. · Reviewed около 3 лет ago

Nandini S. · Reviewed около 3 лет ago

Seee100 E. · Reviewed около 3 лет ago

Utkarsh A. · Reviewed около 3 лет ago

ankit m. · Reviewed около 3 лет ago

Ananya T. · Reviewed около 3 лет ago

Bhuvan S. · Reviewed около 3 лет ago

Asutosh Rath G. · Reviewed около 3 лет ago

Samiksha V. · Reviewed около 3 лет ago

Pranalee N. · Reviewed около 3 лет ago

Amazing Lab

Sanjana G. · Reviewed около 3 лет ago

Kishore K. · Reviewed около 3 лет ago

NAMITH R. · Reviewed около 3 лет ago

Sinethemba N. · Reviewed около 3 лет ago

Naga Haritha S. · Reviewed около 3 лет ago

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. · Reviewed около 3 лет ago

Aakriti G. · Reviewed около 3 лет ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.