python - relation in between a categorical dependent variable and combination of independent variables
问题描述
I am looking for a technique which could help us find the relation in between a categorical dependent variable and combination of independent variables (Y ~ X1*X2+X2*X3+X3*X4), here among X1 to X4 we have few categorical columns and few continuous columns.
I am working on a classification problem and I want to check what combination of independent columns are highly related to dependent columns.
解决方案
我不确定我是否正确理解了您的问题,但据我了解:您可以尝试将连续列转换为存储桶,这意味着也可以有效地将它们转换为分类,然后找到它们之间的相关性。
推荐阅读
- python - 在python中的进程之间共享线程池
- c# - 在组级别而不是应用程序级别处理并发
- python - POST 请求适用于 POSTMAN,但不适用于 Python 和 cURL
- javascript - 替换 javascript nashorn:mozilla_compat.js 在 ant 脚本中使用
- php - 如何使用 Supervisor 在 AWS Lightsail 实例上运行 Websocket 服务器
- sql - 带有输入参数的查询不会编译为视图
- c# - 如何从数据库中读取位值并将该值设置为布尔会话变量(如果不为空)
- chat - 关于 Angular 8 sendbird 聊天的建议
- web-scraping - Scrapy init 返回一个 None
- facebook - Facebook 和公共页面内容