Re: Linear regression, weights constraint
Thank you a lot for the answer. Have a nice day. On Tue, Aug 16, 2016 at 10:55 AM Yanbo Liang <yblia...@gmail.com> wrote: > Spark MLlib does not support boxed constraints on model coefficients > currently. > > Thanks > Yanbo > > 2016-08-15 3:53 GMT-07:00 letaiv <tleginev...@gmail.com>: > >> Hi all, >> >> Is there any approach to add constrain for weights in linear regression? >> What I need is least squares regression with non-negative constraints on >> the >> coefficients/weights. >> >> Thanks in advance. >> >> >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/Linear-regression-weights-constraint-tp27535.html >> Sent from the Apache Spark User List mailing list archive at Nabble.com. >> >> - >> To unsubscribe e-mail: user-unsubscr...@spark.apache.org >> >>
Re: Linear regression, weights constraint
Spark MLlib does not support boxed constraints on model coefficients currently. Thanks Yanbo 2016-08-15 3:53 GMT-07:00 letaiv <tleginev...@gmail.com>: > Hi all, > > Is there any approach to add constrain for weights in linear regression? > What I need is least squares regression with non-negative constraints on > the > coefficients/weights. > > Thanks in advance. > > > > > > -- > View this message in context: http://apache-spark-user-list. > 1001560.n3.nabble.com/Linear-regression-weights-constraint-tp27535.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > - > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > >
Linear regression, weights constraint
Hi all, Is there any approach to add constrain for weights in linear regression? What I need is least squares regression with non-negative constraints on the coefficients/weights. Thanks in advance. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Linear-regression-weights-constraint-tp27535.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe e-mail: user-unsubscr...@spark.apache.org