To be clear, you can set it to any non-zero value you like but the algorithm will adjust what it learns and you will get the same result.
Setting the intercept to anything except 1 is thus a way to make your program perversely hard for somebody to understand when they read your program. On Mon, Jul 2, 2012 at 12:59 AM, Sean Owen <[email protected]> wrote: > No just set the bias term to 1 in all cases. > > On Mon, Jul 2, 2012 at 10:13 AM, damodar shetyo <[email protected]> > wrote: > > Is it required that i set the bias(intercept) equal to one only?Or can i > > set it to any constant value x? > > > > Also How can choose value of bias for different types of data (other data > > like spam .non spam /email data etc , or assigning category to news > items) >
