Guessing correctly the EM_EVENTPROBABILITY in scoring code
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
从 pzmm.ImportModel.import_model 开始,检查 SKmodel.predict_proba(...) 如何映射到 EM_EVENTPROBABILITY。将概率列与 SKmodel.classes_ 进行比较,然后确定如何通过 targetevent 值为二分类和多分类选择正确的类别,同时不影响回归行为。使用相关的项目测试验证所得行为。
由索引模型根据 Issue 内容生成。
描述
When using pzmm.ImportModel.import_model for wirting scoring code for binary/multinomial classification it assumes from result = SKmodel.predict_proba(...) that the result[0] is the target variable probability and assigns it to EM_EVENTPROBABILITY, which may be incorrect, the levels probability may be in a distinct column.
At least for classification models, you can get the probability class labels and orders from SKmodel.classes_. If the user adds something like targetevent = "label", we could use it to assign the correct column of probability to EM_EVENTPROBABILITY.
It is likely that this only works for classification, and should not be confused when the model is a regression.
- 主要语言
- Python
- 星标
- 52
- 派生
- 45
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sassoftware/python-sasctl 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
sassoftware/python-sasctl#224 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-sasctl#216 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
sassoftware/python-sasctl#207 · 1 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 45/100
sassoftware/python-sasctl#202 ·
-
bug
难度 4/5 3-5 天 新手友好度 30/100
sassoftware/python-sasctl#193 ·
查看 sassoftware/python-sasctl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
cline/mcp-marketplace#3576 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
griptape-ai/griptape-nodes-library-elevenlabs#30 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 76/100
awslabs/social-messaging-agent-runtime-toolkit#140 ·
维护者通常 1 天内回复
-
subtask
难度 2/5 1-3 小时 新手友好度 72/100
fga-eps-mds/2026.2-MeasureSoftGram-DOC#187 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
NSPG13/agent-bounties#1747 ·
维护者通常 1 天内回复