Is new hardwood floor installation considered a repair or improvement for rental property?

We removed carpets from two bedrooms and installed hardwood in both rooms. Is this considered an improvement or repair? Can I write this off as an expense?