Can home improvements offset capital gains?

Can home improvements help offset my capital gains when I sell my house?