AI, Automation and Intelligent CommerceIntroduction: From Digital Commerce to Intelligent CommerceE-commerce and direct-to-consumer (D2C) firms increasingly compete through their ability to sense customer intent, make decisions, generate content, automate interactions, and learn from outcomes. Earlier digital commerce systems primarily executed predefined rules: a customer viewed a product, received a segment-based email, and was shown a manually configured promotion. Intelligent commerce adds statistical learning, natural-language generation, computer vision, optimization, and software agents that can adapt decisions to context. The strategic opportunity is substantial. Artificial intelligence (AI) can improve discovery, conversion, retention, customer service, inventory allocation, pricing, and marketing productivity. Yet automation does not automatically create value. A recommendation system may increase clicks while reducing margin; a generative model may produce persuasive but inaccurate product claims; a forecasting model may perform well historically but fail after a viral trend or supply disruption. The central managerial task is therefore not simply to adopt AI, but to design an accountable decision system in which data, models, people, incentives, and controls work together. This chapter examines machine learning and generative AI in personalization, recommendations, content, service, forecasting, pricing, and agentic commerce. It evaluates accuracy, bias, experimentation, privacy, security, explainability, and human oversight. Learning ObjectivesBy the end of this chapter, students should be able to: - Distinguish automation, machine learning, generative AI, and agentic commerce.
- Explain how intelligent systems support personalization, recommendations, content, service, forecasting, and pricing.
- Select appropriate performance metrics and recognize the difference between prediction accuracy and business value.
- Design a responsible AI operating model incorporating experimentation, governance, privacy, and human oversight.
- Critically assess bias, hallucination, drift, manipulation, and other limitations.
- Apply these ideas to a D2C growth problem and make a defensible managerial recommendation.
1. A Conceptual Architecture of Intelligent CommerceIntelligent commerce can be viewed as a closed decision loop: Data → representation → prediction or generation → decision → customer response → measurement → learning Data may include transactions, browsing events, product attributes, customer service conversations, consent status, inventory, prices, delivery performance, and contextual signals such as device or time. A representation converts these inputs into useful features, embeddings, profiles, or knowledge structures. A model then predicts an outcome, generates content, or selects an action. The action may be a product ranking, message, price, service response, replenishment order, or recommendation to a human employee. A useful distinction is between four system types: | System | Main mechanism | Typical commerce use | Main risk |
|---|
| Rules-based automation | Explicit if–then logic | Cart reminders, routing, eligibility | Rigidity and rule conflicts | | Predictive machine learning | Learns relationships from data | Churn, demand, conversion prediction | Bias, leakage, drift | | Generative AI | Produces text, images, audio, code, or structured outputs | Product copy, assistants, creative variants | Hallucination, copyright, brand inconsistency | | Agentic system | Pursues a goal through multiple tool-using steps | Shopping research, replenishment, service resolution | Excessive autonomy, unauthorized action |
These categories overlap. A service agent may use a large language model (LLM), retrieval from a product database, rules for refunds, and a predictive model for escalation. The model is only one component of a sociotechnical system. The decision-quality principleA model is not valuable merely because it predicts well. Its value depends on whether it improves a decision under operational constraints. A demand forecast may have low error but be unusable if it arrives after supplier cut-off. A recommendation model may raise click-through rate but lower contribution margin by promoting discounts. Managers should therefore evaluate: - Predictive quality: Is the estimate or generated output accurate and calibrated?
- Decision quality: Does the action improve a defined objective?
- Operational quality: Can the organization execute the action reliably?
- Customer quality: Does the experience create trust, relevance, and long-term value?
- Governance quality: Is the action lawful, fair, explainable, and auditable?
2. Machine Learning for Personalization and RecommendationsPersonalizationPersonalization changes content, assortment, timing, offer, or interface according to a customer’s inferred needs or context. It can be explicit, such as a declared size or preference, or implicit, such as browsing patterns. Personalization should not be confused with segmentation. Segmentation assigns people to groups; personalization may make an individual-level decision at each interaction. Common approaches include: - Rule-based personalization: “If a customer has purchased running shoes, show running socks.” It is transparent but limited.
- Collaborative filtering: Recommends items based on similarities among users or items. “Customers who interacted with X also interacted with Y.”
- Content-based recommendation: Uses product attributes and a customer’s prior interests.
- Hybrid recommendation: Combines collaborative, content, contextual, and business signals.
- Session-based and sequence models: Use the order and timing of current actions, especially for anonymous visitors.
- Contextual bandits: Balance trying uncertain options with exploiting known successful options.
A standard offline evaluation metric for a ranked list is precision at k: Precision@k = (number of relevant items among the top k recommendations) ÷ k Here, k is the number of displayed recommendations and “relevant” must be defined, for example by a later purchase or meaningful engagement. Precision@k is useful but incomplete. It may reward popular products, ignore profitability, and fail to measure novelty or long-term satisfaction. Recall at k measures the proportion of all relevant items retrieved in the top k, while normalized discounted cumulative gain (NDCG) gives greater weight to relevant items appearing near the top. A recommender may also be evaluated through online experimentation. If the treatment group generates revenue of £12,000 from 1,000 sessions and the control group generates £10,000 from 1,000 sessions, revenue per session is £12 and £10 respectively. The estimated relative lift is: Relative lift = (treatment metric − control metric) ÷ control metric Thus, relative lift is (12 − 10) ÷ 10 = 0.20, or 20%. This estimate is meaningful only if randomization, exposure, sample size, duration, and statistical uncertainty are appropriately handled. Revenue lift should also be checked against returns, discounts, fulfillment cost, and customer lifetime value. Cold start and feedback loopsNew customers, new products, and changing tastes create the cold-start problem. A new product has no interaction history, so a collaborative model may ignore it. Solutions include product metadata, editorial priors, exploration, contextual questions, and carefully designed experimentation. Recommendation systems can create feedback loops. Items shown more often receive more clicks, which makes them appear more successful, causing the system to show them even more. This can reduce diversity, disadvantage new sellers, and narrow customer choice. Exploration, exposure constraints, catalog coverage, and monitoring of recommendation concentration can mitigate this risk. 3. Generative AI for Commerce Content and ExperienceGenerative AI predicts or constructs sequences such as text, images, code, or structured responses. In commerce it can support: - Product descriptions adapted to channel, language, and audience.
- Search-query rewriting and conversational product discovery.
- Advertising variants and creative ideation.
- Image background generation or controlled product visualization.
- Summarization of reviews and service conversations.
- Internal assistance for merchandising, analytics, and customer-service agents.
The most reliable operating pattern is grounded generation. Instead of asking a model to answer from general training alone, the system retrieves approved facts from a current catalog, policy repository, or knowledge base, then instructs the model to use those sources. Outputs should pass validation for price, availability, claims, prohibited terms, localization, and brand style. A practical content pipeline is: - Define the audience, objective, channel, and claims permitted.
- Retrieve authoritative product facts and applicable policy.
- Generate one or more drafts.
- Validate structured fields and factual claims.
- Conduct human or risk-based review.
- Publish with versioning and traceability.
- Measure performance and customer harm signals.
Generative quality has several dimensions: factuality, usefulness, originality, inclusiveness, brand fit, readability, and compliance. Fluency is not evidence of truth. A hallucination is a plausible but unsupported output; in commerce it may involve an invented ingredient, warranty, certification, delivery date, or product capability. 4. AI-Enabled Customer ServiceAI service systems range from intent classification and routing to retrieval-augmented chatbots and tool-using agents. High-value applications include order-status questions, returns eligibility, appointment scheduling, troubleshooting, and summarizing a case for a human representative. A safe architecture separates conversation from authority. The language model may interpret a request, but a transaction service should verify identity, eligibility, stock, payment, and policy before taking action. High-impact actions—such as issuing large refunds, changing payment details, or closing an account—should require stronger authentication or human approval. Service performance should not be judged by containment rate alone. Important measures include first-contact resolution, transfer rate, response time, customer effort, repeat contact, complaint rate, refund accuracy, and customer satisfaction. A bot that prevents customers from reaching a human may have high containment and poor service quality. The model should communicate uncertainty and provide an escalation path. It should not claim to have completed an action unless a verified system response confirms completion. Conversation logs require careful treatment because they may contain personal, financial, health, or authentication information. 5. Forecasting, Inventory, and Demand SensingForecasting supports procurement, production, labor scheduling, fulfillment, and cash planning. Machine learning can use seasonality, promotions, price, weather, traffic, marketing exposure, product substitution, and external events. However, causal interpretation is difficult: a variable correlated with demand may not cause it, and historical promotion data may reflect the organization’s prior targeting decisions. For actual demand yᵢ and forecast ŷᵢ, mean absolute error (MAE) is: MAE = (1 ÷ n) ∑ᵢ₌₁ⁿ |yᵢ − ŷᵢ| Here, n is the number of observations, yᵢ is actual demand in units, and ŷᵢ is predicted demand in units. MAE is expressed in units and gives equal weight to each absolute error. Root mean squared error (RMSE) gives greater weight to large errors: RMSE = √[(1 ÷ n) ∑ᵢ₌₁ⁿ (yᵢ − ŷᵢ)²] Forecast metrics must be selected according to the decision. Percentage errors can be unstable when actual demand is zero or very small. Intermittent-demand settings may require specialized measures. Forecast accuracy also does not equal inventory performance: service level, stockouts, waste, working capital, and contribution margin matter. A forecast should be evaluated using time-based validation rather than random shuffling when future information must not enter training. Managers should monitor forecast bias, meaning systematic over- or underprediction, and drift caused by changes in channels, assortment, customer behavior, or supply conditions. 6. Intelligent Pricing and PromotionAI can estimate price sensitivity, identify promotion response, optimize markdown timing, and personalize offers. A central conceptual distinction is between prediction and causal uplift. A model predicting who will buy may target customers who would have bought anyway. An uplift model instead estimates the incremental effect of a treatment, such as a coupon, compared with no coupon. Price experimentation should respect constraints. Randomized tests can estimate demand response, but interference, competitor reactions, stock limits, and fairness concerns complicate interpretation. Dynamic pricing may also create perceptions of unfairness if customers receive materially different prices without an understandable reason. A profit-oriented objective can be represented conceptually as: Expected contribution = expected revenue − variable product cost − fulfillment cost − discount cost This is not a universal pricing formula; it is an accounting objective whose terms must be defined consistently. It excludes fixed costs unless the decision is intended to cover them. A sophisticated optimizer should also include legal constraints, price floors, inventory restrictions, customer commitments, and brand-positioning considerations. 7. Agentic CommerceAgentic commerce describes systems that pursue a shopping or business objective through multiple steps, such as discovering products, comparing attributes, checking delivery, obtaining authorization, placing an order, and monitoring fulfillment. The agent may use search, catalog APIs, payment services, inventory systems, and messaging tools. Agentic systems create a new delegation problem. The customer may specify a goal—“replenish my household essentials under a budget”—without specifying every product. The system must interpret preferences, resolve ambiguity, and obtain consent for consequential actions. A robust design includes: - Explicit scope, budget, category, and time limits.
- Authenticated identity and least-privilege tool access.
- Confirmation before purchase or other irreversible action.
- A record of the agent’s sources, decisions, and tool calls.
- Idempotency controls to prevent duplicate orders.
- Real-time checks for price, stock, delivery, and policy.
- Human escalation for ambiguity, vulnerability, disputes, or high-value purchases.
Agentic commerce may shift competition from retailer interfaces toward product data quality, APIs, trust, fulfillment reliability, and the ability to be selected by external agents. Retailers should expose accurate structured product information while protecting commercial systems from unauthorized scraping, prompt injection, fraud, and automated abuse. 8. Accuracy, Bias, and EvaluationAccuracy is multidimensionalClassification accuracy can be misleading when classes are imbalanced. A fraud detector that labels every transaction legitimate may appear accurate if fraud is rare but has no practical value. For service triage, precision, recall, false-negative cost, and calibration may matter more than overall accuracy. Calibration asks whether predicted probabilities correspond to observed frequencies; among cases assigned a 0.8 probability, approximately 80% should meet the outcome under appropriate calibration conditions. Generative systems require factuality evaluation, adversarial testing, retrieval verification, and human review. Evaluation sets should represent languages, product categories, customer types, edge cases, and likely misuse—not only average traffic. Bias and fairnessBias can enter through historical data, missing groups, measurement choices, labels, model objectives, deployment context, and feedback loops. Examples include: - A recommendation model overexposing already popular brands.
- A service classifier routing some dialects more often to low-quality automation.
- A marketing model excluding customers because past campaigns underinvested in them.
- A generated image system reproducing stereotypical associations.
- A pricing model imposing unequal burdens on protected or vulnerable groups.
Fairness is not one universal metric. Managers must identify the relevant harm, protected or vulnerable populations, legal requirements, and trade-offs. Group comparisons may include selection rates, error rates, or calibration, but satisfying one criterion may conflict with another when base rates differ. Fairness assessment therefore requires domain judgment, stakeholder participation, and documentation rather than a single numerical test. 9. Experimentation and Causal LearningAI interventions should be tested with a clearly defined unit of randomization, treatment, control, primary outcome, guardrail metrics, and stopping rule. Possible units include users, sessions, stores, orders, or geographic regions. The unit must match the risk of interference: if users influence one another, individual randomization may contaminate treatment and control. A useful scorecard combines: | Dimension | Example measure |
|---|
| Commercial | Incremental contribution, conversion, retention | | Customer | Satisfaction, effort, complaints, returns | | Model | Precision, recall, calibration, drift | | Operations | Latency, escalation, stockouts, workload | | Responsibility | Privacy incidents, disparate impact, harmful outputs |
Offline metrics support model development; online experiments estimate real-world impact. Neither replaces the other. Long-term effects require holdouts, cohort analysis, or sequential monitoring because short-term conversion can conceal reduced trust or increased churn. 10. Governance and Human OversightResponsible intelligent commerce requires governance across the system lifecycle: - Purpose and risk classification: Define the use case, affected people, decisions, and potential harm.
- Data governance: Establish lawful collection, consent where required, minimization, quality, retention, access controls, and provenance.
- Model development: Document features, labels, assumptions, training data, validation, and known limitations.
- Pre-deployment testing: Test accuracy, robustness, security, bias, accessibility, and failure modes.
- Deployment controls: Use permissions, thresholds, rate limits, logging, rollback, and approval workflows.
- Monitoring: Track drift, performance, complaints, incidents, subgroup outcomes, and unexpected use.
- Review and retirement: Reassess when products, laws, suppliers, or customer behavior change.
Human oversight must be meaningful, not ceremonial. A reviewer needs authority, time, training, relevant evidence, and the ability to override or stop the system. “Human in the loop” is weak if employees merely approve recommendations at excessive speed or cannot understand the basis of an action. In high-risk settings, a human should be able to contest the output and provide a remedy. Regulatory obligations vary by jurisdiction, but recurring themes include privacy, consumer protection, automated decision transparency, discrimination law, intellectual property, cybersecurity, records, and sector-specific requirements. Organizations should not assume that labeling an AI output removes responsibility for its consequences. 11. Illustrative Case: Aurora Home’s Intelligent D2C Growth ProgramBackgroundAurora Home, a fictional D2C retailer of household textiles, has 180,000 monthly visitors, a broad catalog, and rising paid-media costs. Its leadership proposes an AI program combining personalized recommendations, generated product content, an automated service assistant, and demand forecasting. ProblemThe existing recommendation widget increases click-through rate but has no demonstrated effect on contribution. Product descriptions are inconsistent across languages. Customer-service agents spend substantial time answering delivery and return questions. Forecasts overreact to promotions, causing stockouts for some products and excess inventory for others. AnalysisAn audit identifies four risks. First, the recommender favors high-volume products and gives new products little exposure. Second, the content team cannot verify whether generated claims match supplier documentation. Third, the proposed chatbot would be connected directly to refund tools without adequate authorization controls. Fourth, the forecast uses realized sales without distinguishing lost sales caused by stockouts. Approach and solutionAurora establishes a cross-functional AI product team with merchandising, data science, service, legal, security, and customer advocacy. It defines contribution per session as the primary recommendation outcome, with conversion, margin, returns, catalog coverage, and complaint rate as guardrails. It runs a randomized test with a holdout group and uses a hybrid recommender: product attributes for new items, collaborative signals where sufficient history exists, and controlled exploration to prevent excessive concentration. For content, the company uses retrieval from approved product specifications and requires automated checks for price, materials, dimensions, care instructions, and prohibited claims. High-risk categories receive human approval. The service assistant can answer policy and order-status questions, but refunds above a defined threshold require authenticated confirmation and human review. Every tool call is logged. For forecasting, Aurora separates stock-constrained sales from estimated demand, adds promotion and availability features, uses rolling time-based validation, and monitors bias by category. It does not automatically change prices; instead, it provides a recommendation with an explanation of expected contribution and inventory consequences. OutcomeAfter a controlled pilot, recommendation revenue rises, but the initial click-through improvement produces little contribution gain because discounts are overrepresented. The team changes the objective and reduces discount-heavy exposure. Service automation resolves routine questions reliably, while escalation increases for ambiguous cases. Content production time falls, but human review remains for regulated or high-claim categories. Forecast performance improves unevenly; the largest gains occur in stable, frequently purchased products, while fashion-like seasonal products still require merchant judgment. Learning points- A business metric must match the economic objective; clicks are not equivalent to profit.
- Grounding and validation are essential for generated content.
- Authority should be separated from language generation in service systems.
- Forecast quality depends on data-generating conditions, including stockouts and promotions.
- Pilot results should refine the operating model rather than justify universal automation.
12. Contemporary Developments and Strategic ImplicationsMultimodal models increasingly combine text, image, audio, and structured product data. Retrieval systems are becoming more capable of grounding answers in enterprise knowledge. Smaller specialized models may reduce latency and cost for classification or extraction, while foundation models remain useful for flexible language tasks. Synthetic data can support testing, but it may reproduce the assumptions and errors of its source data. The emerging competitive advantage is not model access alone. Most firms can access comparable foundation models. Differentiation is more likely to arise from proprietary first-party data obtained with appropriate permission, high-quality product information, distinctive experimentation capabilities, trusted customer relationships, operational integration, and disciplined governance. Managers should treat AI investment as a portfolio. Low-risk uses such as summarization and internal search may provide early productivity benefits. Customer-facing recommendations, pricing, and agents require stronger experimentation and controls. High-impact uses should have explicit accountability, documented alternatives, and a path to human remedy. Best-Practice Checklist- Start with a measurable customer or business problem, not a fashionable technology.
- Define the decision, objective, constraints, and unacceptable outcomes.
- Use the least sensitive data and the lowest level of autonomy that can achieve the goal.
- Separate prediction or generation from authorization and execution.
- Ground generated outputs in current, approved sources.
- Test both average performance and subgroup, edge-case, and adversarial performance.
- Use randomized experimentation where feasible and monitor long-term effects.
- Measure incremental contribution, not only engagement.
- Provide disclosure, explanation, escalation, and remedy appropriate to the risk.
- Log inputs, outputs, model versions, tool calls, approvals, and incidents.
- Monitor drift and retire systems that no longer meet their purpose.
Chapter SummaryIntelligent commerce combines automation, predictive machine learning, generative AI, and increasingly autonomous agents to improve customer experience and business decisions. Applications include personalization, recommendations, content creation, service, demand forecasting, pricing, and purchasing assistance. Their value depends on decision quality and incremental outcomes rather than fluency, clicks, or offline accuracy alone. Recommendation systems require attention to cold start, exploration, diversity, feedback loops, and economically meaningful metrics. Generative systems should be grounded in authoritative information and validated for factuality, claims, brand fit, and compliance. AI service systems must separate conversational interpretation from transactional authority. Forecasting requires time-aware validation and recognition of stock constraints and changing demand processes. Pricing systems must distinguish propensity from causal uplift and respect fairness and transparency. Bias, privacy, security, hallucination, drift, manipulation, and excessive autonomy are central risks. Effective governance includes lifecycle documentation, access control, monitoring, experimentation, human authority, escalation, and remedy. The strategic capability is therefore an accountable learning system in which technology, people, data, and managerial judgment jointly produce trustworthy growth. Key TermsAutomation: Execution of predefined or learned tasks with limited human intervention. Agentic commerce: Commerce in which a software agent pursues a goal through multiple tool-using actions. Calibration: Agreement between predicted probabilities and observed outcome frequencies. Cold start: Difficulty making reliable predictions for new users, products, or contexts with little historical data. Collaborative filtering: Recommendation based on patterns of similarity among users or items. Concept drift: Change in the relationship between inputs and outcomes over time. Contribution: Revenue remaining after specified variable costs, such as product, fulfillment, and discount costs. Exploration: Testing uncertain options to obtain information and avoid overreliance on known choices. Generative AI: AI that creates new text, images, audio, code, or other outputs. Grounded generation: Generation constrained or informed by authoritative retrieved information. Hallucination: A plausible but unsupported or factually incorrect model output. Human oversight: Meaningful human ability to review, intervene, override, or provide remedy. Incrementality: The additional outcome caused by an intervention compared with an appropriate counterfactual. Machine learning: Methods that infer patterns from data to make predictions or decisions. Model drift: Degradation caused by changes in data, behavior, environment, or relationships. Personalization: Adaptation of content, offers, assortment, or interaction to an individual or context. Precision@k: Proportion of the top k ranked recommendations that are relevant. Retrieval-augmented generation: Generation that uses retrieved enterprise or external sources as contextual evidence. Uplift modeling: Estimation of the incremental effect of a treatment for different individuals or groups. Review QuestionsShort Answer Questions- How does intelligent commerce differ from rules-based automation?
- What is the cold-start problem in recommendation systems?
- Why is click-through rate an incomplete measure of recommendation success?
- Define hallucination and explain why it matters in product content.
- What is meant by meaningful human oversight?
Long Answer Questions- Explain the architecture of a responsible generative-AI product-content pipeline.
- Compare collaborative filtering, content-based recommendation, and hybrid recommendation approaches.
- Discuss how machine learning can improve demand forecasting and why forecast accuracy does not guarantee inventory success.
- Analyze the governance requirements for an AI customer-service assistant with refund capability.
- Explain why bias can arise even when a model has strong overall predictive accuracy.
Analytical / Application Questions- A recommender increases conversion by 8% but reduces contribution per order by 5% because it promotes discounts. Design an evaluation plan to determine whether the system should be retained, modified, or withdrawn.
- A D2C retailer wants an agent to reorder household products automatically. Specify the permissions, confirmation rules, monitoring, and escalation mechanisms required before deployment.
- A forecasting model performs well for products with stable demand but poorly during promotions and stockouts. Diagnose the likely data and validation problems and propose a revised forecasting and decision process.
Multiple Choice Questions with AnswersQuestion 1Which statement best distinguishes predictive machine learning from generative AI? A. Predictive machine learning estimates outcomes, whereas generative AI produces new content or structured outputs. B. Predictive machine learning always requires human approval, whereas generative AI never does. C. Predictive machine learning uses no historical data, whereas generative AI uses only historical data. D. Predictive machine learning is limited to pricing, whereas generative AI is limited to customer service. Correct Answer: A. Predictive machine learning estimates outcomes, whereas generative AI produces new content or structured outputs. Question 2A recommender displays 5 products, of which 3 are judged relevant. What is its Precision@5? A. 20% B. 40% C. 60% D. 80% Correct Answer: C. 60% Question 3What is the principal purpose of grounding a generative-AI output? A. To increase the model’s response length B. To connect generation to authoritative and current information C. To eliminate the need for any evaluation D. To ensure that every output is creative rather than factual Correct Answer: B. To connect generation to authoritative and current information Question 4Which measure gives greater weight to large forecast errors than MAE? A. Median B. RMSE C. Precision@k D. Selection rate Correct Answer: B. RMSE Question 5Which example most clearly illustrates a feedback loop in recommendation? A. A new product is manually entered into the catalog. B. Popular products receive more exposure, generate more interactions, and are then exposed even more. C. A customer changes a delivery address before checkout. D. A service agent escalates a complaint to a manager. Correct Answer: B. Popular products receive more exposure, generate more interactions, and are then exposed even more. Question 6Why is uplift modeling particularly useful for promotion decisions? A. It estimates who is most likely to buy without any promotion. B. It estimates the incremental effect of a promotion relative to a counterfactual. C. It guarantees that every customer receives the same price. D. It replaces the need to measure profit. Correct Answer: B. It estimates the incremental effect of a promotion relative to a counterfactual. Question 7Which control is most appropriate before an agent places a high-value order? A. Allowing unrestricted tool access B. Removing transaction logs to protect privacy C. Requiring authenticated confirmation within defined authority limits D. Maximizing the agent’s response speed Correct Answer: C. Requiring authenticated confirmation within defined authority limits Question 8Why can overall accuracy be misleading for a fraud model? A. Accuracy cannot be calculated for categorical outcomes. B. Fraud is often rare, so predicting the majority class can look accurate while missing fraud. C. Fraud models never use labeled data. D. Accuracy automatically measures fairness. Correct Answer: B. Fraud is often rare, so predicting the majority class can look accurate while missing fraud. Question 9Which practice best prevents future information from entering a time-dependent forecast evaluation? A. Randomly shuffling all observations before splitting the data B. Using time-based validation that trains on earlier periods and tests on later periods C. Deleting all observations containing promotions D. Evaluating only the largest products Correct Answer: B. Using time-based validation that trains on earlier periods and tests on later periods Question 10In a responsible AI service architecture, what should language generation generally be separated from? A. Typography and interface color B. Authorization and execution of consequential transactions C. Customer greetings D. Message translation Correct Answer: B. Authorization and execution of consequential transactions
|