[ 
https://issues.apache.org/jira/browse/MAHOUT-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035261#comment-13035261
 ] 

XiaoboGu commented on MAHOUT-696:
---------------------------------

I add the following line to the driver.classes.props file

org.apache.mahout.classifier.sgd.RunAdaptiveLogistic = trainAdaptiveLogistic : 
Train a logistic regression using adaptivelogistic sgd

But it seems the main function of RunAdaptiveLogistic class can't be called


[gpadmin@lixsvr1 mahtest]$ mahout trainAdaptiveLogistic --input donut.csv 
--output ./model --target color --categories 2 --predictors x y --types numeric 
--features 20 --passes 100 --rate 50 
Running on hadoop, using HADOOP_HOME=/usr/local/hadoop
No HADOOP_CONF_DIR set, using /usr/local/hadoop/src/conf 
11/05/18 13:40:27 WARN driver.MahoutDriver: No trainAdaptiveLogistic.props 
found on classpath, will use command-line arguments only
 Unexpected --passes while processing 
--help|--quiet|--auc|--scores|--confusion|--input|--model                       
            
 Usage:                                                                         
                                                  
  [--help --quiet --auc --scores --confusion --input <input> --model <model>]   
                                                  
 --help|--quiet|--auc|--scores|--confusion|--input|--model                      
                                                  
   --help                                                 print this list       
                                                  
   --quiet                                                be extra quiet        
                                                  
   --auc                                                  print AUC             
                                                  
   --scores                                               print scores          
                                                  
   --confusion                                            print confusion 
matrix                                                  
   --input input                                          where to get training 
data                                              
   --model model                                          where to get a model  
                                                  
11/05/18 13:40:28 INFO driver.MahoutDriver: Program took 70 ms

> Command line program for AdaptiveLogiscticRegression
> ----------------------------------------------------
>
>                 Key: MAHOUT-696
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-696
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Classification
>    Affects Versions: 0.5
>            Reporter: XiaoboGu
>             Fix For: 0.6
>
>         Attachments: AdaptiveLogisticModelParameters.java, 
> RunAdaptiveLogistic.java
>
>
> Suggested by Ted, I'll try to write a command line program for 
> AdaptiveLogicticRegression, but as I am not familir with the algorithm, I'll 
> try to write a prototype for the program from a Java developer's perspactive, 
> hope anyone else will help with the details of the algorithm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to