Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • Nodes
  • Logistic (3.7)
NodeNode / Learner

Logistic (3.7)

Analytics Integrations Weka Weka (3.7) Classification Algorithms
+1
Drag & drop
Like
Copy short link

Class for building and using a multinomial logistic regression model with a ridge estimator. There are some modifications, however, compared to the paper of leCessie and van Houwelingen(1992): If there are k classes for n instances with m attributes, the parameter matrix B to be calculated will be an m*(k-1) matrix. The probability for class j with the exception of the last class is Pj(Xi) = exp(XiBj)/((sum[j=1..(k-1)]exp(Xi*Bj))+1) The last class has probability 1-(sum[j=1..(k-1)]Pj(Xi)) = 1/((sum[j=1..(k-1)]exp(Xi*Bj))+1) The (negative) multinomial log-likelihood is thus: L = -sum[i=1..n]{ sum[j=1..(k-1)](Yij * ln(Pj(Xi))) +(1 - (sum[j=1..(k-1)]Yij)) * ln(1 - sum[j=1..(k-1)]Pj(Xi)) } + ridge * (B^2) In order to find the matrix B for which L is minimised, a Quasi-Newton Method is used to search for the optimized values of the m*(k-1) variables

Note that before we use the optimization procedure, we 'squeeze' the matrix B into a m*(k-1) vector.For details of the optimization procedure, please check weka.core.Optimization class.

Although original Logistic Regression does not deal with instance weights, we modify the algorithm a little bit to handle the instance weights.

For more information see:

le Cessie, S., van Houwelingen, J.C.

(1992).Ridge Estimators in Logistic Regression.

Applied Statistics.41(1):191-201.

Note: Missing values are replaced using a ReplaceMissingValuesFilter, and nominal attributes are transformed into numeric attributes using a NominalToBinaryFilter.

(based on WEKA 3.7)

For further options, click the 'More' - button in the dialog.

All weka dialogs have a panel where you can specify classifier-specific parameters.

Node details

Input ports
  1. Type: Table
    Training data
    Training data
Output ports
  1. Type: Weka 3.7 Classifier
    Trained model
    Trained model

Extension

The Logistic (3.7) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    FinalProject
    lucagalli > Collaborators > FinalProject
    lucagalli
  2. Go to item
    nuovo
    lucagalli > Collaborators > nuovo
    lucagalli
  3. Go to item
    esempio
    lucagalli > Collaborators > esempio
    lucagalli
  4. Go to item
    KNIMECH
    lucagalli > Collaborators > KNIMECH
    lucagalli
  5. Go to item
    KNIMECH - agg 25_01
    lucagalli > Collaborators > KNIMECH - agg 25_01
    lucagalli
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits