Machine Learning Based Product Price Inference Using Price
Elasticity of Demand Approach
K.Vengatesan, Raghvendra Vijay Naidu, Kunal Ganesh Joshi, ChaitanyaSantosh Tekane, Siddhant Ravindra
Gore
1,2,3,4,5Department of Computer Engineering, Sanjivani College of Engineering,Kopargaon. Emails: kvengatesancomp@sanjivani.org.in; raghvendranaidu203@gmail.com; kunalgkjoshi@gmail.com;
chaitanyatekane5@gmail.com; siddhantgore111@gmail.com
Machine learning is a type of Artificial Intelligence that allows software applications to become more accurate at predicting outcomes without being explicitly programmed to do so. Historical Data is provided as an input to machine learning algorithms which then predicts the output values. Basically ML can be classified into three categories, viz. Supervised Learning, Unsupervised Learning and Reinforcement Learning. In Supervised Learning we know the labels, i.e. the output, and we train the model knowing the output, the goal here is to learn the general rule that maps the inputs to outputs. The training is continued until the model reaches a desired level of accuracy, eg. Image Classification, Regression, etc. In Unsupervised Learning we have unlabelled data, i.e. we don't know the outputs. It is used for clustering population in different groups, e.g. Clustering. And the Reinforcement Learning works on the basis of a reward function. Generally used in gaming applications, the algorithm receives a reward if it performs well and a punishment if it doesn't, thereby contributing to the learning process.
Price optimization is the process of finding the optimal price point for a product or service. It maximizes profitability by using market and consumer data to find a balance between value and profit. There are various factors that need to be taken into account before deciding the price of a product, like customer survey, historic sales data, operating costs, inventories, demand fluctuations, lifetime value and churn data etc. One more factor to be considered is Price Elasticity of Demand, it is the measurement of the change in the consumption of a product in relation to a change in its price. Mathematically it can be represented as:
Price Elasticity of Demand = % Change in Quantity Demanded / % Change in Price
This equation is used to understand how price change affects the supply and demand of a product or service, if demand stays the same when its price changes, it means the commodity is inelastic. This information can be a key to successful price optimization; it helps to know how customers will react to changes in price.
To decide an optimal price for a product or service, we first need data, i.e Quantitative and Qualitative Data. Quantitative data includes information on demographics, inventory, supply and demand, historical data, churn rate, price sensitivity, etc. While qualitative data includes customer surveys and opinions. Knowing the right value metric is also as important, because it showcases how customers value the product or service and what can be charged for the value offered. Continuous price monitoring is also required to know whether the value offered aligns with customers' need and pricing expectations and if it does not, then the pricing can be changed accordingly. Some of the factors that determine the pricing of a product are:
1. Cost of Production: A company cannot sell a product at a price lower than its production cost and hence it must be taken into account before fixing the price. 2. Demand for the Product: Depending upon the demand price of a product can vary, i.e. if demand for a product is high the price is also higher. 3. Price of Competing Firms: The product prices of competing firms must be considered before fixing the price. 4. Purchasing Power of the Customer: Things like at what price and how much the customer can purchase should also be taken into consideration 5. Government Regulations: Price of a commodity has to be ascertained on the basis of government norms and regulations 6. Marketing Method used: The method used for marketing of product along with the commission provided to the middleman or retailers as well as 'after sale service' facility provided or not must be considered before fixing the price
2. Related Work
As referred to in the past piece of this article, energy research fundamentally focuses on the exceptional assessing on online business sectors, while blocking the necessity for a suitable portrayal of the methodologies used. The going with regions are based on the crucial confirmation in the field of online business in the neighborliness business and the portrayal of assessing models used to match the clients' necessities and their expense affirmation characteristics. Pricing a product is a crucial aspect in any business. Alot of thought process is out into it. There are different strategies to price different kinds of products. There are products whose sales are quite sensitive to their prices and as such a small change in their price can lead to noticeable change in their sales. While there are products whose sales are not much affected by their price - these tend to be either luxury items or necessities (like certain medicines). This notebook will focus on the former type of products.
The figure represents the example of computing elasticity of demand, using the formula is show as price is decreasing $10 to $8, the quantity of the product sales are increasing 30 unit to 50 unit, then elasticity coefficient is 2.25.
The figure which represents the changes of price values based on the demand in the market, if any product having more demand in the market, definitely people can purchase without having concern with price value.
The figure with represent the income elasticity demand based on the various parameters of the product both price demand and income demand plays major role, for changing the price of any product based on the market demand. If the curve is more elastic, then small changes in price will cause large changes in quantity consumed. Graphically, elasticity can be represented by appearance of the supply or demand curve. A more elastic curve will be horizontal
3. Result and discussion
In this session we are going to discuss about how data is extracted from various dataset, from which we need to perform the data cleaning operation first followed by machine learning algorithm to optimization of the price. In this model data is collected from three different source files such as MetaData, Transaction and Dateinfousinf pandas library function all the data is loaded in one variable.
sold = pd.read_csv('MetaData.csv') transactions = pd.read_csv('Transaction.csv') date_info = pd.read_csv('DateInfo.csv')
In which first step of every problem solving to load the required dataset and apply pre-processing methods to remove the noise values from the dataset, in our problem statement taken three different data set such as Metadata, Transaction and Date info, each dataset having unique row and columns.
The figure sold dataset consist of 4 columns such as Sell_id, Sell_category,Item_ID,Item_name which having 11 rows.
The Figure 6 which consists of following columns like Calendar _Date, Year, Holidy,Is_Weekend,Is_Schoolbreak,Average _tempature and Is_Outdoor with 1349 rows of data.
The Fig.7 describes the statistical information about sold table, which does not contain any error values.
he Fig 8 shows the before pre-processing of Date_info table and Fig.9 Shows after pre-processing same table. The price of the product every day will not change, based the product and manpower involved for the product price will be vary or based the season, due to peak season the price of the product may be vary or because of huge demand in market also another reason the price of the product may be change. Every price will associated with sell_id, quantity is numerical value that is associated with product sold, Sell_Id is unique variable for each product.
Algorithm for Find Optimal Price:
deffind_optimal_price(data, model, buying_price): start_price = data.PRICE.min() - 1 end_price = data.PRICE.min() + 10 test = pd.DataFrame(columns = ["PRICE", "QUANTITY"]) test['PRICE'] = np.arange(start_price, end_price,0.01) test['QUANTITY'] = model.predict(test['PRICE']) test['PROFIT'] = (test["PRICE"] - buying_price) * test["QUANTITY"] plt.plot(test['PRICE'],test['QUANTITY']) plt.plot(test['PRICE'],test['PROFIT']) plt.show() ind = np.where(test['PROFIT'] == test['PROFIT'].max())[0][0] values_at_max_profit = test.iloc[[ind]] returnvalues_at_max_profit
4. Conclusion
This is the price the cafe should set on it's item to earn maximum profit based on it's previous sales data. It is important to note that this is on a normal day. On 'other' days such as a holiday, or an event taking place have a different impact on customer buying behaviours and pattern. Usually an increase in consumption is seen on such days. These must be treated separately. Similarly, it is important to remove any external effects other than price that will affect the purchase behaviours of customers including the data points when the item was on discount.
References
- Srinivasan, S.S.; Anderson, R.; Ponnavolu, K. Customer loyalty in e-commerce: An exploration of its antecedents and consequences.J. Retail. 2002, 78, 41–50.
- Hemmington, N.; Kim, P.B.; Wang, C. Benchmarking hotel service quality using two-dimensional importance- performance benchmark vectors (IPBV). J. Serv. Theory Pract. 2018, 28, 2–25.
- Yang, T.; Xun, J.; He, X. British SMEs’ e-commerce technological investments and firm performance: An RBV perspective.Technol. Anal. Strat. Manag. 2015, 27, 586–603.
- Huang, H.; Liu, Y.; Lu, D. Proposing a model for evaluating market efficiency of OTAs: Theoretical approach. Tour. Econ. 2019,26, 958–975.
- Sánchez-Lozano, G.; Pereira, L.; Chávez-Miranda, E. Exploring online prices with an advance booking horizon on Booking.com.Eur. J. Tour. Res. 2020, 26, 2606.
- Abrate, G.; Nicolau, J.L.; Viglia, G. The impact of dynamic price variability on revenue maximization. Tour. Manag. 2019,74, 224–233.
- Vives, A.; Jacob, M.; Payeras, M. Revenue management and price optimization techniques in the hotel sector. Tour. Econ. 2018, 24, 720–752.
- Ivanov, S.; Del Chiappa, G.; Heyes, A. The research-practice gap in hotel revenue management: Insights from Italy. Int. J.Hosp. Manag. 2021, 95, 102924.
- https://www.geeksforgeeks.org/getting-started-machine-learning/
- https://blog.hubspot.com/sales/price-optimization
- https://www.investopedia.com/terms/p/priceelasticity.asp
- https://www.yourarticlelibrary.com/production/7-important-factors-that-determine-the-fixation-of-price/1093
- P. Kavitha , R. SubhaShini , R. Priya, "An Implementation Of Statistical Feature Algorithms For The Detection Of Brain Tumor", Journal of Cognitive Human-Computer Interaction, 2021, DOI: https://doi.org/10.54216/JCHCI.010202.
- Sonia Jenifer Rayen, "Survey On Smart Cane For Visually Impaired Using IOT", Journal of Cognitive Human- Computer Interaction, 2021, DOI: https://doi.org/10.54216/JCHCI.010205.
- Ajith Krishna R , Ankit Kumar , Vijay K, " An Automated Optimize Utilization of Water and Crop Monitoring in Agriculture Using IoT", Journal of Cognitive Human-Computer Interaction, 2021, https://doi.org/10.54216/JCHCI.010105.
- Ashok Kumar M , Abirami A , Sindhu P , Ashok Kumar V D , Rani V, " Modern Medical Innovation on the Preferred Information about the Medicine using AI Technique", Journal of Cognitive Human-Computer Interaction, 2021, https://doi.org/10.54216/JCHCI.010102.
- Mrs. K. Kiruthika , Ms. S. Gayathri , Ms. R. Hemalatha , Ms. P. Menaga, "Design and Development of Mobile Healthcare Application for “Ayurvedic” based Clinical Documents", Journal of Cognitive Human-Computer Interaction, 2021, https://doi.org/10.54216/JCHCI.010103.
- Vijay K, " Collaborating The Textual Reviews Of The Merchandise and Foretelling The Rating Supported Social Sentiment", Journal of Cognitive Human-Computer Interaction, 2021, DOI: https://doi.org/10.54216/JCHCI.010203.