class_docstr: Softmax regression classifier.
  
  Parameters
  ------------
  eta : float (default: 0.01)
      Learning rate (between 0.0 and 1.0)
  
  epochs : int (default: 50)
      Passes over the training dataset.
      Prior to each epoch, the dataset is shuffled
      if `minibatches > 1` to prevent cycles in stochastic gradient descent.
  
  l2 : float
      Regularization parameter for L2 regularization.
      No regularization if l2=0.0.
  
  minibatches : int (default: 1)
      The number of minibatches for gradient-based optimization.
      If 1: Gradient Descent learning
      If len(y): Stochastic Gradient Descent (SGD) online learning
      If 1 < minibatches < len(y): SGD Minibatch learning
  
  n_classes : int (default: None)
      A positive integer to declare the number of class labels
      if not all class labels are present in a partial training set.
      Gets the number of class labels automatically if None.
  
  random_seed : int (default: None)
      Set random state for shuffling and initializing the weights.
  
  print_progress : int (default: 0)
      Prints progress in fitting to stderr.
      0: No output
      1: Epochs elapsed and cost
      2: 1 plus time elapsed
      3: 2 plus estimated time until completion
  
  Attributes
  -----------
  w_ : 2d-array, shape={n_features, 1}
    Model weights after fitting.
  
  b_ : 1d-array, shape={1,}
    Bias unit after fitting.
  
  cost_ : list
      List of floats, the average cross_entropy for each epoch.
  
  Examples
  -----------
  For usage examples, please see
  https://rasbt.github.io/mlxtend/user_guide/classifier/SoftmaxRegression/
class_docstr_tok: ["Softmax","regression","classifier",".","Parameters","--","--","--","--","--","--","eta",":","float","(","default",":","0.01",")","Learning","rate","(","between","0.0","and","1.0",")","epochs",":","int","(","default",":","50",")","Passes","over","the","training","dataset",".","Prior","to","each","epoch",",","the","dataset","is","shuffled","if","`","minibatches",">","1","`","to","prevent","cycles","in","stochastic","gradient","descent",".","l2",":","float","Regularization","parameter","for","L2","regularization",".","No","regularization","if","l2=0.0",".","minibatches",":","int","(","default",":","1",")","The","number","of","minibatches","for","gradient-based","optimization",".","If","1",":","Gradient","Descent","learning","If","len","(","y",")",":","Stochastic","Gradient","Descent","(","SGD",")","online","learning","If","1","<","minibatches","<","len","(","y",")",":","SGD","Minibatch","learning","n_classes",":","int","(","default",":","None",")","A","positive","integer","to","declare","the","number","of","class","labels","if","not","all","class","labels","are","present","in","a","partial","training","set",".","Gets","the","number","of","class","labels","automatically","if","None",".","random_seed",":","int","(","default",":","None",")","Set","random","state","for","shuffling","and","initializing","the","weights",".","print_progress",":","int","(","default",":","0",")","Prints","progress","in","fitting","to","stderr",".","0",":","No","output","1",":","Epochs","elapsed","and","cost","2",":","1","plus","time","elapsed","3",":","2","plus","estimated","time","until","completion","Attributes","--","--","--","--","--","-","w_",":","2d-array",",","shape=","{","n_features",",","1","}","Model","weights","after","fitting",".","b_",":","1d-array",",","shape=","{","1",",","}","Bias","unit","after","fitting",".","cost_",":","list","List","of","floats",",","the","average","cross_entropy","for","each","epoch",".","Examples","--","--","--","--","--","-","For","usage","examples",",","please","see","https",":","\/\/rasbt.github.io\/mlxtend\/user_guide\/classifier\/SoftmaxRegression\/"]
docstr: Predict class probabilities of X from the net input.
  
  Parameters
  ----------
  X : {array-like, sparse matrix}, shape = [n_samples, n_features]
      Training vectors, where n_samples is the number of samples and
      n_features is the number of features.
  
  Returns
  ----------
  Class probabilties : array-like, shape= [n_samples, n_classes]
docstr_tok: ["Predict","class","probabilities","of","X","from","the","net","input",".","Parameters","--","--","--","--","--","X",":","{","array-like",",","sparse","matrix","}",",","shape","=","[","n_samples",",","n_features","]","Training","vectors",",","where","n_samples","is","the","number","of","samples","and","n_features","is","the","number","of","features",".","Returns","--","--","--","--","--","Class","probabilties",":","array-like",",","shape=","[","n_samples",",","n_classes","]"]
code: def predict_proba(self, X):
      """Predict class probabilities of X from the net input.
  
      Parameters
      ----------
      X : {array-like, sparse matrix}, shape = [n_samples, n_features]
          Training vectors, where n_samples is the number of samples and
          n_features is the number of features.
  
      Returns
      ----------
      Class probabilties : array-like, shape= [n_samples, n_classes]
  
      """
      return self._forward(X)
  
file_path: mlxtend/mlxtend/classifier/softmax_regression.py
imports: from time import time
  import numpy
  from .._base import _BaseModel, _Classifier, _IterativeModel, _MultiClass
label_desc: Use image node_id 10 for calling the SoftmaxRegression obj's underlying member method code with example usage: obj.predict_proba(X) and returns: self