Refinancing primary residence to pay for down payment on investment property

I plan to cash out refinance my primary residence and use to proceeds for down payment on an investment property.  I was wondering if the interest I pay on down payment can be deducted as investment interest?