How about we coin it now? We could call it a Thiel.
A word for a value between 0 and 1 (inclusive)
91–100 of 325 posts
Re: A word for a value between 0 and 1 (inclusive)
#92Better languages will let you call the variable just "accuracy", but with type "float 0 to 1 inclusive" with some literal syntax; so from function FuncName(float AccuracySOMETHING) to function FuncName([0...1] accuracy)
Re: A word for a value between 0 and 1 (inclusive)
#93I like that the top-voted answer is a wrong one. (A unit interval is the set [0, 1], whereas the asker wants to know a name for an element of it.)
Re: A word for a value between 0 and 1 (inclusive)
#94“mantissa” ( https://en.wikipedia.org/wiki/Common_logarithm#Mantissa_and_... ) comes close, but excludes 1. IEEE 754 sort-of has that as a part of a float, too ( https://en.wikipedia.org/wiki/Significand ), and people use the term “mantissa” for it, but it has to special-case 0. ⇒ barring better suggestions, I think I would stretch the definition of mantissa a bit further.
Re: A word for a value between 0 and 1 (inclusive)
#95I don't think this is a naming issue at all. In the provided example, 'Accuracy' is the correct name for the parameter, as that's what the parameter represents, accuracy. The fact that accuracy should be given as a value in an interval from 0 to 1 should be a property of parameter type . In other words, the parameter should not be a float, but a more constrained type that allows floats only in [0,1]. EDIT: Some of yo…
Re: A word for a value between 0 and 1 (inclusive)
#96Piddling: amounting to very little; trifling; negligible
Re: A word for a value between 0 and 1 (inclusive)
#97Depending on context I would use ratio saturated (if something is clamped to 0-1) normalized (if it is scaled down using a max value)
I don't like "ratio" because, though this might just be me, I already have a bad habit of assuming, incorrectly, that every ratio in my code is meant to stay smaller than +1.
Re: A word for a value between 0 and 1 (inclusive)
#98I don't think this is a naming issue at all. In the provided example, 'Accuracy' is the correct name for the parameter, as that's what the parameter represents, accuracy. The fact that accuracy should be given as a value in an interval from 0 to 1 should be a property of parameter type . In other words, the parameter should not be a float, but a more constrained type that allows floats only in [0,1]. EDIT: Some of yo…
This got me thinking: What about a situation where the accuracy is given in a real-life unit. For example, the accuracy of a GPS measurement, given in meters. I've sometimes used names like 'accuracyInMeters' to represent this, but it felt a bit cumbersome.
Edit: Thinking more about it, I guess you could typealias Float to Meters, or something like that, but also feels weird to me.
Re: A word for a value between 0 and 1 (inclusive)
#99"Normalized". That's what we call data that have been scaled to fit on a tidy axis.
Re: A word for a value between 0 and 1 (inclusive)
#100Creating a type that is defined as being between one and zero would be more helpful and then the name can reflect the usage of the value