bugGNU Octave - Bugs: bug #52417, size not match in...

 
 

bug #52417: size not match in logistic_regression docstring

Submitted by:  None
Submitted on:  Thu 16 Nov 2017 06:58:20 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: Need InfoAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: 4.2.1
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Nov 2017 07:01:11 PM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1