Comments (3)
weights should be a float me thinks. I think when we weight, we naturally think of percentages which lends itself to floats.
from concerto.
We started out using floats (they might have been doubles) and a percentage-based weighting system in Concerto 1 but it turned out to be too confusing so we simplified everything to our current 1-5 integer based weights.
The first shuffling algorithm would pull content from a subscription N% of the time, so all the subscription weights would have to add up to 100%. We mever exposed this level of granularity in an interface TMK, resulting in math that really dumbed things down a lot. As an example, setting 1 feed to "Show alway" which had a weight of 80% and 5 feeds to "Meh" with a weight of 10% meant that you ended up with 1 feed @ 62% and 5 feeds at 7.6% which probably wasn't what you intended to do. Our interface wasn't clever enough to show you the relative nature of the weighting since it had a very limited set of options and the math behind the scenes shouldn't have normalized as naively as it did.
We switched to 1-5 integers and the current shuffling algorithm which maintained the same relative nature (setting all your feeds to "very frequently" scoring at 5 is the same as everything at "meh" scoring at 1) but it makes is much clearer that there was no normalization going on behind the scenes. When you revisit the panel the weights haven't changed because we don't try to force anything to add up to anything.
Using floats provides us with the most flexibility right now since we can store 1-5 or % numbers as needed. Feel free to make the column change.
from concerto.
Moving this to #73
from concerto.
Related Issues (20)
- Errors on default docker deployment HOT 1
- Removing Concerto Containers & Data
- concerto install full error code HOT 10
- Remove dynamic plugin system HOT 2
- I am unable to upload files or LibreSignage Markup.
- Ruby2.5 EOL March 2021 HOT 1
- Missing CORS headers from frontend images
- The repository 'https://oss-binaries.phusionpassenger.com/apt/passenger focal Release' does not have a Release file. HOT 1
- Authentication token manipulation error
- Change to remote mysql server
- Translate into spanish HOT 3
- ubuntu install fails every time - libapache2-mod-passenger
- Change date format from MM/DD/YY to DD/MM/YY HOT 3
- Future Development HOT 3
- Ruby 2.7 support HOT 2
- Concerto Audio not installed ... giving error
- Hidden Mouse
- Search bar as element
- install fails on Debian 11package HOT 2
- get.concerto-signage.org loads Brians world wordpress blog HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concerto.