pydfs-lineup-optimizer icon indicating copy to clipboard operation
pydfs-lineup-optimizer copied to clipboard

Floor Ceiling

Open chrisbach1 opened this issue 2 years ago • 19 comments

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

chrisbach1 avatar Jan 06 '23 04:01 chrisbach1

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: @.***>

Denwen12 avatar Jan 06 '23 04:01 Denwen12

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

chrisbach1 avatar Jan 06 '23 04:01 chrisbach1

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 avatar Jan 06 '23 04:01 Denwen12

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: @.***>

Denwen12 avatar Jan 06 '23 04:01 Denwen12

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 avatar Jan 06 '23 04:01 chrisbach1

I have the columns and numbers already

chrisbach1 avatar Jan 06 '23 04:01 chrisbach1

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

Milkman9691 avatar Jan 06 '23 05:01 Milkman9691

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: @.***>

Denwen12 avatar Jan 06 '23 05:01 Denwen12

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

optimizer.set_fantasy_points_strategy(RandomFantasyPointsStrategy())

I appreciate the help

chrisbach1 avatar Jan 06 '23 05:01 chrisbach1

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 avatar Jan 06 '23 05:01 Denwen12

@Denwen12 Thanks!

chrisbach1 avatar Jan 06 '23 05:01 chrisbach1

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 avatar Jan 06 '23 05:01 Denwen12

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: @.***>

Denwen12 avatar Jan 06 '23 05:01 Denwen12

@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

chrisbach1 avatar Jan 09 '23 22:01 chrisbach1

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: @.***>

Denwen12 avatar Jan 09 '23 22:01 Denwen12

Screenshot 2023-01-09 170334

chrisbach1 avatar Jan 09 '23 23:01 chrisbach1

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

chrisbach1 avatar Jan 09 '23 23:01 chrisbach1

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: @.***>

Denwen12 avatar Jan 09 '23 23:01 Denwen12

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: @.***>

Denwen12 avatar Jan 09 '23 23:01 Denwen12