Find Jobs
Hire Freelancers

Python Implementation of Logistic Regression and Naive Bayes Algorithms -- 2

$10-30 USD

已取消
已发布超过 7 年前

$10-30 USD

货到付款
(a) Logistic Regression. Report the accuracy on the test set. Vary the learning rate (η) and report the results for 3 different learning rates. Report the confusion matrix on the test set. Since this requires a k-class logistic regression, predict if the class is 1 or not.; to achieve this, create a new version of the data set where for all the examples where the class label is not 1, you assign a new class label (say 0). Thus now your binary task is predicting whether class 1 is true or not. Do the same for the test set as well. 
 (b) The counting based Naive Bayes classifier: Assume Laplacian correction. Again, treat the task as binary and report the results as a confusion matrix. 
 Data: from the UCI Zoo data set (zoo-train and zoo-test). There are 16 features (the first 16 columns) and the class labels are in the last column. There are 7 classes (numerically specified as class 1 to 7). All features are binary except for feature 13, which is a categorical variable with possible values 0,2,4,5,6,8. Note that to create binary split, please use the one-vs-rest approach.
项目 ID: 11773839

关于此项目

远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED STATES的国旗
Bronx, United States
4.9
9
付款方式已验证
会员自11月 8, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。