acikyazilimagi / acikyazilimagi/musahit-harita-backend

Change Heat Map Method

Aberta
#53 0 comentários 0 reações 1 responsável Reivindicada por @gurkanguray Ver no GitHub
Linguagem predominante
Go
Estrelas
21
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The method needs to be changed when sending intensity for the heatmap. A general intensity will be subtracted from the average of the sum of the ballot box numbers for the neighbourhoods. For chests, complete or incomplete information will be sent (1-0)
by @kingofsevens
```
maturity_total = 10
neighbourhood = []
for building in neighbourhood_building:
for box in building_boxes:
if box.approved:
intensity = 0
box.state = 1
else:
intensity = math.ceil(count / maturity_total * 5)
box.state = 0
neighbourhood.append(box.intensity)
neighbourhood_intensity = sum(l) / len(l)

```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.