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 > >