bugGNU Octave - Bugs: bug #52417, [octave forge] (statistics) size...

 
 

bug #52417: [octave forge] (statistics) size not match in logistic_regression docstring

Submitted by:  None
Submitted on:  Thu 16 Nov 2017 06:58:20 AM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Nov 2017 07:01:11 PM UTC, comment #1:

I don't know enough about the logitistic regression to be able to tell which version of the equation is correct. Unfortunately, we need someone with either statistics expertise, or who can read the m-file, to determine the correct phrasing.

Rik <rik5>
Project Administrator
Thu 16 Nov 2017 06:58:20 AM UTC, original submission:

In the docstring of "logistic_regression.m", it seems that

should be

Because of unmatched matrix sizes,
would raise the error "nonconformant arguments", while
would not.

The parameters X and BETA of "logistic_regression.m" have the same convention as "ols.m" (linear regression), where rows(X) equals the number of training samples, and rows(BETA)==columns(X) equals the number of input features.

The docstring of "ols.m" says
which is correct (where BETA is just the estimator for b).

But I'm not familiar with logistic regression in the case of K > 2, so I'm not very sure whether this change is correct.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-19 mtmiller CategoryDocumentation => Octave Forge Package
        Release4.2.1 => dev
        Summarysize not match in logistic_regression docstring => [octave forge] (statistics) size not match in logistic_regression docstring
    2017-11-22 rik5 StatusNone => Need Info

    Back to the top


    Powered by Savane 3.3