在电商业务中,如何通过数据挖掘与用户行为聚类分析精准识别消费者的复购周期与流失预警?
数据分析师How can data analysis be used to identify patterns in customer behavior in e-commerce?
指令参数定制变量
修改下方变量,右侧的实时生成结果预览(Live Output)将同步进行中英文精准文本插值替换。
本指令调优最佳实践
- 01.如何构建 RFM 模型(Recency, Frequency, Monetary)将电商用户分层并制定差异化召回策略?
- 02.How can data analysts use data mining techniques to identify patterns in customer behavior in the field of e-commerce?
[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?
How can [profession] use [skill/tool] to identify patterns in [desired outcome]?
💡 使用技巧:将复制的内容直接粘贴给 ChatGPT、Claude 或 Gemini,即可获得高度结构化、切中业务要害的高质量解答。
How can data analysis be used to identify patterns in customer behavior in e-commerce?
[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?
How can [profession] use [skill/tool] to identify patterns in [desired outcome]?
如何构建 RFM 模型(Recency, Frequency, Monetary)将电商用户分层并制定差异化召回策略?
How can data analysts use data mining techniques to identify patterns in customer behavior in the field of e-commerce?
import { GoogleGenAI } from "@google/genai";
// 初始化 Google GenAI SDK (服务器端)
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
const response = await ai.models.generateContent({
model: "gemini-2.5-pro",
contents: ["在电商业务中,如何通过数据挖掘与用户行为聚类分析精准识别消费者的复购周期与流失预警?"],
config: {
systemInstruction: "[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?",
temperature: 0.1
}
});
console.log(response.text);
import { GoogleGenAI } from "@google/genai";
// 初始化 Google GenAI SDK (服务器端)
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
const response = await ai.models.generateContent({
model: "gemini-2.5-pro",
contents: ["在电商业务中,如何通过数据挖掘与用户行为聚类分析精准识别消费者的复购周期与流失预警?"],
config: {
systemInstruction: "[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?",
temperature: 0.1
}
});
console.log(response.text);
import OpenAI from "openai";
// 初始化 OpenAI 客户端
const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
const response = await client.chat.completions.create({
model: "gpt-4o",
messages: [
{ role: "system", content: "[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?" },
{ role: "user", content: "在电商业务中,如何通过数据挖掘与用户行为聚类分析精准识别消费者的复购周期与流失预警?" }
],
temperature: 0.2
});
console.log(response.choices[0].message.content);
import os
from google import genai
from google.genai import types
# 初始化 Google GenAI Python 客户端
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
response = client.models.generate_content(
model="gemini-2.5-pro",
contents="在电商业务中,如何通过数据挖掘与用户行为聚类分析精准识别消费者的复购周期与流失预警?",
config=types.GenerateContentConfig(
system_instruction="[角色] 如何运用 [算法工具/方法] 在 [业务场景] 中洞察潜在规律?",
temperature=0.1,
),
)
print(response.text)
Prompt 场景全景生态协同矩阵
智能联动调优基座、高阶效能工具链与权威工程资讯百科