Eric Truett
Eric Truett
So to see the optimals for each of those probabilty types, it would look something like the following: ``` n_lineups = ... optimizer = get_optimizer(...) prob_types = ('Make Cut', 'Top...
You can implement the constraint as a sum, not a product. The user of the library would determine the appropriate max_lineup_ownership_sum. In the example above, if you have a field...
You just have to modify this code in lineup_printer.py class IndividualSportLineupPrinter(LineupPrinter): OUTPUT_FORMAT = '{index:>2}. {lineup_position:
The other option is to subclass LineupPrinter and create a custom printer. Then you would have to create new settings and use them when you instantiate the optimizer optimizer =...
You don't need to overload ```_print_player```. You just need to change ```OUTPUT_FORMAT``` to reflect your desired output. ``` class IndividualSportLineupPrinter(LineupPrinter): OUTPUT_FORMAT = '{index:>2}. {lineup_position:
I would recommend doing this through projections, rather than optimizer rules. There is no requirement that you generate lineups from one set of projections, so you can use a variety...
Yes, I think correlation coefficients would be the way to estimate the range of outcomes for the stacked players. So you would start with an optimistic projection for a game...
One way to do it on a general basis is as follows: - Draw team points scored from a distribution based on historical results given game total and spread -...
You'd need to provide the following information per sport on the site: * Budget/salary cap (e.g. 50000 for DK, 60000 for FD) * min_games * positions * and any site-specific...
@rickenrocker24 The load_players method allows you to create a list of Player objects and then add them to the optimizer. There is no requirement that you use a site-supplied CSV...