DimaKudosh / pydfs-lineup-optimizer

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
MIT License
424 stars 157 forks source link

Floor Ceiling #399

Open chrisbach1 opened 1 year ago

chrisbach1 commented 1 year ago

I would love some input here.

I have added Projection Floor and Projection Ceiling columns to my csv file. Do I still need to add the RandomFantasyPointStrategy to my code? How do I get the optimizer to project fppg in the range?

Anything helps! Thanks in advance. Love this optimizer

Denwen12 commented 1 year ago

RandomFantasyPointsStrategy needs to be added

On Thu, Jan 5, 2023, 11:27 PM Chris Bachmann @.***> wrote:

I would love some input here.

I have added Projection Floor and Projection Ceiling columns to my csv file. Do I still need to add the RandomFantasyPointStrategy to my code? How do I get the optimizer to project fppg in the range?

Anything helps! Thanks in advance. Love this optimizer

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7UBD6CPAGC7IQGY763WQ6NKRANCNFSM6AAAAAATSVX3NQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

chrisbach1 commented 1 year ago

What do I put as the range since I am using floor and ceiling columns in the csv?

Denwen12 commented 1 year ago

You can usually can find a players floor and ceiling online

On Thu, Jan 5, 2023, 11:54 PM Chris Bachmann @.***> wrote:

What do I put as the range since I am using floor and ceiling columns in the csv?

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373143635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7TK5SM4QQIPMO6EVW3WQ6QR5ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you commented.Message ID: @.***>

Denwen12 commented 1 year ago

You can look on dk and fd and look at the players details and find his floor and his highest Fantasy points games and use that

On Thu, Jan 5, 2023, 11:55 PM joseph offen @.***> wrote:

You can usually can find a players floor and ceiling online

On Thu, Jan 5, 2023, 11:54 PM Chris Bachmann @.***> wrote:

What do I put as the range since I am using floor and ceiling columns in the csv?

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373143635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7TK5SM4QQIPMO6EVW3WQ6QR5ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you commented.Message ID: @.***>

chrisbach1 commented 1 year ago

I mean how do I get the optimizer to randomize a projection between my floor and ceiling. Will it do it automatically if I add the RandomFantasyPointStrategy?

chrisbach1 commented 1 year ago

I have the columns and numbers already

Milkman9691 commented 1 year ago

Floors & Ceilings you find online are useless unless they give you every detail as to how they created them. It is pretty simple to create your own and then you know if players are mixed in with only 5 mins avg playing time but I would not use any found online NBC Sports Edge has a good write up about creation of a F&C chart so i would start there

Denwen12 commented 1 year ago

Yes when you run the optimizer you'll see fantasy pou ts in Parenthesis

On Thu, Jan 5, 2023, 11:59 PM Chris Bachmann @.***> wrote:

I have the columns and numbers already

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373146105, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7RNDK6ENCVBU6XOTIDWQ6RE3ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you commented.Message ID: @.***>

chrisbach1 commented 1 year ago

So if I am specifying my floors and ceilings I just add this?:

optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy())

I appreciate the help

Denwen12 commented 1 year ago

Should work fine

On Fri, Jan 6, 2023, 12:07 AM Chris Bachmann @.***> wrote:

So if I am specifying my floors and ceilings I just add this?:

optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy())

I appreciate the help

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373150914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7QQSZJGSBU7K5AFNL3WQ6R7TANCNFSM6AAAAAATSVX3NQ . You are receiving this because you commented.Message ID: @.***>

chrisbach1 commented 1 year ago

@Denwen12 Thanks!

Denwen12 commented 1 year ago

Did you import the function?

On Fri, Jan 6, 2023, 12:08 AM joseph offen @.***> wrote:

Should work fine

On Fri, Jan 6, 2023, 12:07 AM Chris Bachmann @.***> wrote:

So if I am specifying my floors and ceilings I just add this?:

optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy())

I appreciate the help

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373150914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7QQSZJGSBU7K5AFNL3WQ6R7TANCNFSM6AAAAAATSVX3NQ . You are receiving this because you commented.Message ID: @.***>

Denwen12 commented 1 year ago

No problem

On Fri, Jan 6, 2023, 12:09 AM Chris Bachmann @.***> wrote:

@Denwen12 https://github.com/Denwen12 Thanks!

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1373152521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7QTKIHZP3P2S3CEEDDWQ6SIXANCNFSM6AAAAAATSVX3NQ . You are receiving this because you were mentioned.Message ID: @.***>

chrisbach1 commented 1 year ago

@Denwen12 so Im still having trouble with it. My understanding is that if I add optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy()) along with the floor & ceiling categories to my csv, that the optimizer would assign a random number between the floor and ceiling. Essentially assigning a player a random FPPG within the floor and ceiling. But if I keep the floor and ceiling in the csv and change all the players FPPG to 0, it does not assign any number. does that make sense? @DimaKudosh

Denwen12 commented 1 year ago

Send a screenshot if your csv

On Mon, Jan 9, 2023, 5:45 PM Chris Bachmann @.***> wrote:

@Denwen12 https://github.com/Denwen12 so Im still having trouble with it. My understanding is that if I add optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy()) along with the floor & ceiling categories to my csv, that the optimizer would assign a random number between the floor and ceiling. Essentially assigning a player a random FPPG within the floor and ceiling. But if I keep the floor and ceiling in the csv and change all the players FPPG to 0, it does not assign any number. does that make sense? @DimaKudosh https://github.com/DimaKudosh

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1376438576, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7TWMELMALLGXKX33HDWRSIG3ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you were mentioned.Message ID: @.***>

chrisbach1 commented 1 year ago

Screenshot 2023-01-09 170334

chrisbach1 commented 1 year ago

Okay its supposed to be "Projection Ceil", not "Projection Ceiling" That fixed it

Denwen12 commented 1 year ago

Your columns are named wrong

On Mon, Jan 9, 2023, 6:14 PM Chris Bachmann @.***> wrote:

Okay its supposed to be "Projection Ceil", not "Projection Ceiling" That fixed it

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1376471322, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7R3T6VHEH6IHJGMX73WRSLV5ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you were mentioned.Message ID: @.***>

Denwen12 commented 1 year ago

Your ownership is wrong also

On Mon, Jan 9, 2023, 6:17 PM joseph offen @.***> wrote:

Your columns are named wrong

  • Max Exposure
  • Min Exposure
  • Roster Order
  • Projected Ownership
  • Min Deviation
  • Max Deviation
  • Projection Floor
  • Projection Ceil
  • Confirmed Starter
  • Progressive Scale

On Mon, Jan 9, 2023, 6:14 PM Chris Bachmann @.***> wrote:

Okay its supposed to be "Projection Ceil", not "Projection Ceiling" That fixed it

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/399#issuecomment-1376471322, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7R3T6VHEH6IHJGMX73WRSLV5ANCNFSM6AAAAAATSVX3NQ . You are receiving this because you were mentioned.Message ID: @.***>