aritter on Nostr: Further update on my work on ranking: To make it easy to create a groups / categories ...
Further update on my work on ranking:
To make it easy to create a groups / categories of features (for example belonging to all different publishers), I'm planning to implement something like ,,feature groups'' in the logistic regression class that's responsible both for collecting training data and training / testing.
As per GPT-4's suggestion, before training I'll put 2 (or maybe 3) features for each feature group : ratio of positive examples to total examples inside that group, and ratio of all examples in that group compared to total number of examples altogether. This will keep the features dense.
The great thing with this decision is that for one more function in the logistic regression API surface (and a few more internal variables), the rendering code is kept simple: it just has to go through all events once to gather training data.
Published at
2023-04-18 05:27:47Event JSON
{
"id": "eeae3b69907dc52e23137dcd08c65877cd765f999dc29756974899f5f53b26af",
"pubkey": "6e3f51664e19e082df5217fd4492bb96907405a0b27028671dd7f297b688608c",
"created_at": 1681795667,
"kind": 1,
"tags": [],
"content": "Further update on my work on ranking:\n\nTo make it easy to create a groups / categories of features (for example belonging to all different publishers), I'm planning to implement something like ,,feature groups'' in the logistic regression class that's responsible both for collecting training data and training / testing.\n\nAs per GPT-4's suggestion, before training I'll put 2 (or maybe 3) features for each feature group : ratio of positive examples to total examples inside that group, and ratio of all examples in that group compared to total number of examples altogether. This will keep the features dense.\n\nThe great thing with this decision is that for one more function in the logistic regression API surface (and a few more internal variables), the rendering code is kept simple: it just has to go through all events once to gather training data.",
"sig": "72cf0812fb279ec11b8a71f689a94577318937e74fb4a491aa308c7768ccf0887434aa2e4f6ab7ca7a3c233c0a19b8c81b98ccb69b94973a95432e7b0b40069f"
}