Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there any algorithm to calculate the cost difference between a given price and an unknown price based on the number of days between the two prices?

What I have tried:

Is there any algorithm to calculate the cost difference between a given price and an unknown price based on the number of days between the two prices? 
Posted
Updated 20-Jan-20 1:45am

Quote:
Is there any algorithm to calculate the cost difference between a given price and an unknown price

It is simple and O(1). The algorithm result is always 'unknown'.
 
Share this answer
 
That's the kind of problem you'd use a self-learning AI for. A deep-learning neural network might be able to give you decent estimates for one specific flight at one specific date in the year after training it with about 200-500 training records, provided the price is always being determined by the same person.

Multiply the number of data records for training by the number of persons who are somehow involved in the determination of the price, multiply by the number of flights and dates you'd like estimates for, and because this requires a larger network, take the square of the total number of records to be on the safe side.

Now all you need is a server farm to host the required data records and network weights, and enough computing power to finish training the system before the last of the dates that you'd want an estimate for.


Alternative: Just buy the company and dictate the prices yourself. That's probably cheaper and more reliable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900