logicai-io / recsys2019 Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I have followed exactly of your instructions for 'Current process (full)', but when I ran python generate_data_parallel_all.py, I found that it requires comp_v0_selected.csv (not sure what it is) but this file has not been generated in the previous steps, so could you give me some hints? Thanks.
W tym momencie korzystamy z przecięcia zbiorów properties. Na pewno da się lepiej np. ważona kombinacja properties + cena.
Do przewidzenia jest kliknięty indeks itemu.
Każda sesja składa się ze słownika {'length': 25, 'ind': [0, 0, 0, 0]}
gdzie length
to liczba wyników wyszukiwania a ind
to indeksy klikniętych wyników. Jeden użytkownik może mieć wiele takich sesji.
BU7YM5MD2HZB [{'length': 25, 'ind': [0, 0, 0, 0]}]
SU92UN3VX8S2 [{'length': 25, 'ind': [5, 4, 11]}, {'length': 25, 'ind': [0]}, {'length': 25, 'ind': [0, 6, 11]}, {'length': 25, 'ind': [4]}, {'length': 25, 'ind': [0, 6, 12]}, {'length': 25, 'ind': [1, 2]}, {'length': 25, 'ind': [0, 8]}, {'length': 25, 'ind': [0, 0, 1, 6]}, {'length': 25, 'ind': [6]}, {'length': 17, 'ind': [8]}, {'length': 23, 'ind': [0, 5]}]
ZYOFGZBSOCNO [{'length': 25, 'ind': [0]}]
H25VWNRELOG0 [{'length': 25, 'ind': [0]}]
318914ILC032 [{'length': 25, 'ind': [7, 0]}]
E0ZABCG33DUJ [{'length': 25, 'ind': [5, 2]}]
M0C2Y3U1MM89 [{'length': 25, 'ind': [21, 10]}]
YZVDXEGPHJIU [{'length': 25, 'ind': [0]}, {'length': 25, 'ind': [2, 3]}]
EX651IQMN4M3 [{'length': 25, 'ind': [0, 1]}]
JZA19MUU8GE1 [{'length': 24, 'ind': [2, 16]}, {'length': 25, 'ind': [2]}]
113S11DCJTUJ [{'length': 25, 'ind': [4]}]
DVRKLT2AA3N9 [{'length': 25, 'ind': [12]}]
KTBKO02O4E3E [{'length': 25, 'ind': [8]}]
MFJEX60PPKG7 [{'length': 25, 'ind': [6]}]
PMNSJLDEYUK1 [{'length': 25, 'ind': [0]}]
XVU8RFF35RPL [{'length': 25, 'ind': [0, 0]}, {'length': 25, 'ind': [0]}, {'length': 25, 'ind': [0]}]
9TLMAVX1VJZA [{'length': 25, 'ind': [0]}]
9YGB7B1X3WH6 [{'length': 25, 'ind': [1]}]
ESIJ4NIOOZWI [{'length': 25, 'ind': [18]}]
UAL8B5S1F9XD [{'length': 25, 'ind': [7]}]
Zbiór danych: https://storage.googleapis.com/logicai-recsys2019/problems/clickind.csv
Potrzebny jest model/formuła, która pod warunkiem poprzednich, obecnej sesji i rankingu rozpatrywanego elementu zwróci prawdopodobieństwo jego kliknięcia.
Zwykle kliknięcia następują w porządku, w tym momencie klasyfikacja może być np. taka:
def classify_sequence(seq):
if len(seq) == 0:
return "empty"
elif len(set(seq)) == 1:
return "constant"
elif len(set(seq)) == len(seq) and min(seq) == seq[0] and max(seq) == seq[-1]:
return "ideal sequence"
elif seq == sorted(seq):
return "non ideal sequence"
elif len(set(seq)) == len(seq) and min(seq) == seq[-1] and max(seq) == seq[0]:
return "ideal sequence rev"
elif seq == sorted(seq, reverse=True):
return "non ideal sequence rev"
else:
return "other"
Prawdopodobnie nie CI bo CI nie ma konfigurowalnej maszyny.
Przetestowanie modeli VW
Teraz feature'y są wrzucone trochę nadmiarowo. Trzeba jakies wyrzucić ponieważ brakuje pamięci na nowe (być może lepsze).
Things to write about
Wydaje się dobre do rankingowych problemów
PR w tym projekcie - #22
PR w forku LightGBM - logicai-io/lightgbm-recsys2019#1
https://github.com/Microsoft/LightGBM/blob/master/src/objective/rank_objective.hpp
f-string
i (f"{foo}"
) które jest nowsze.Optymalizacja parametrów LGBMRanker.
Przydatna praca https://github.com/logicai-io/recsys2019/blob/master/publications/burgesLearningToRank-2011.pdf
Modele rankingowe łączy się trochę inaczej niż zwykłe.
Przydatna praca https://github.com/logicai-io/recsys2019/blob/master/publications/burgesLearningToRank-2011.pdf
Prawdopodobnie trzeba to ręcznie wyciągnąć.
Hi, I have tried to run quick validation and I followed exactly of you instructions. After fixed several bugs in the code I finally reached the last step, but when I ran python quick_validate.py, I encountered a Key Error of 'last_event_ts', I deleted code related to last_event_ts but more Key Errors raised (e.g. last_item_clickout), so could you please provide me some tips of fixing it? Thanks a lot.
Tensorflow ranking ma zaimplementowany loss MRR
https://github.com/tensorflow/ranking
Trzeba to sprawdzić
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.