Closed Sprootsy closed 6 months ago
Very interesting! What I'm missing is how you plan to compute the number of copies for each card.
Are you trying to solve one problem at a time? First identify the cards, then compute the quantities?
Very interesting! What I'm missing is how you plan to compute the number of copies for each card.
Are you trying to solve one problem at a time? First identify the cards, then compute the quantities?
It's already there, at line 138 is summing quantities and the one above it counts for the nr. of decks where the card is present.
However, using the nr. of copies seems to lead to less sparse data, so it makes it more difficult to define the staples
I noticed that I pushed some code that was not supposed to be here, so I removed that.
I also added the ArchetypeCentroid
class.
First working solution for #75 I've tried it with 3 archetypes with different settings (see the
main
fun in the main.py Here are the results:I think the second line after
## DECKS
is the most solid (corresponds to line 158 in the main.py) because the data is more sparse (stdev is higher). This is ignoring the amount of copies played. It's only counting the nr. of decks that contain a certain card, so it's basically the frequency of use in tournaments.I did not implement the filter for the set index yet.