Use this phrase when you're imagining or guessing something, and you want to say what you hope is true.
For example, if you're learning to play guitar, you can say this:
I'd like to think that I'm improving.
This means that you're not completely sure that you're improving, but you hope that you are.
You can also say "I like to think..." to talk about things that you often hope.