Context-Based Dynamic Pricing with Partially Linear Demand Model