2 #include <eris/learning/BayesianLinear.hpp> 3 #include <eris/SharedMember.hpp> 34 using BayesianLinear::BayesianLinear;
44 double predict(eris::SharedMember<Book> book,
unsigned int draws);
46 using BayesianLinear::predict;
49 virtual std::string
display_name()
const override {
return "ProfitStream"; }
double predict(eris::SharedMember< Book > book, unsigned int draws)
Given a book, this uses the profit of the first periods the book has been on the market to predict t...
Primary namespace for all Creativity library code.
Definition: config.hpp:4
virtual std::string display_name() const override
Returns "ProfitStream", the name of this model.
Definition: ProfitStream.hpp:49
This class represents an author's belief about the lifetime profits of a book based on partial lifeti...
Definition: ProfitStream.hpp:31