Can we deduct the expenses from prior years getting a home rehabilitated to rent?

Bought the home in 2013 with the intent for it to be a vacation rental. We never lived in the home, it was just an investment. We put about $15,000 into it and it was rented in 2017 and will continue to be a rental.  Can we deduct the costs to get it ready/renovated to rented (2013-2017)? We have never deducted these expenses.