secretflow / secretpad

SecretPad is a privacy-preserving computing web platform based on the Kuscia framework, designed to provide easy access to privacy-preserving data intelligence and machine learning functions.
https://www.secretflow.org.cn
Apache License 2.0
42 stars 23 forks source link

SecretPad逻辑回归预测结果异常 #170

Open Inclay97 opened 1 hour ago

Inclay97 commented 1 hour ago

Issue Type

Install/Deploy

Have you searched for existing documents and issues?

Yes

OS Platform and Distribution

Linux version 4.19.90-52.40.v2207.ky10.x86_64 (KYLINSOFT@f4c0be98561f) (gcc version 7.3.0 (GCC)) #3 SMP Wed Jul 24 15:07:09 CST 2024

All_in_one Version

SecretPad All In One v1.9.0

Module type

secretflow

Module version

SecretPad All In One v1.9.0

What happend and What you expected to happen.

能够正常运行得到结果,但在使用逻辑回归模型训练并预测二分类问题时(0,1)得到的预测结果却为0.5

Log output.

能够正常运行得到结果,但在使用逻辑回归模型训练并预测二分类问题时(0,1)得到的预测结果却为0.5
Inclay97 commented 1 hour ago

image 训练流

Inclay97 commented 1 hour ago

分箱操作内容: image

逻辑回归训练参数 image

Inclay97 commented 1 hour ago

数据集 heart.csv

Inclay97 commented 1 hour ago

预测结果 image

zimu-yuxi commented 1 hour ago

尝试将逻辑回归的训练批数据量改为10后重新进行模型训练,然后发布模型,再次预测一下