mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 15:25:43 +00:00
feat(BE-281): changes std deviasi first 100 data to all
This commit is contained in:
@@ -689,9 +689,6 @@ func computeUniformity(rows []BodyWeightExcelRow) (UniformityCalculation, error)
|
|||||||
var cv float64
|
var cv float64
|
||||||
if mean > 0 && total > 1 {
|
if mean > 0 && total > 1 {
|
||||||
stddevWeights := weights
|
stddevWeights := weights
|
||||||
if len(stddevWeights) > 100 {
|
|
||||||
stddevWeights = stddevWeights[:100]
|
|
||||||
}
|
|
||||||
stddevCount := float64(len(stddevWeights))
|
stddevCount := float64(len(stddevWeights))
|
||||||
if stddevCount > 1 {
|
if stddevCount > 1 {
|
||||||
var stddevSum float64
|
var stddevSum float64
|
||||||
|
|||||||
Reference in New Issue
Block a user