kmeans

package
v0.0.0-...-7ea3a82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Centroides [][]float64
View Source
var DistIndCen [][]float64
View Source
var DistMinIndCen []float64
View Source
var IndClusterAsignado []int
View Source
var Pruebas []Prueba
View Source
var Pruebas2 []Prueba

Functions

func Add

func Add()

func AddFinal

func AddFinal()

func Calc_Centroides

func Calc_Centroides()

func Calc_Dist_Euclidiana

func Calc_Dist_Euclidiana()

func Calc_Dist_Min

func Calc_Dist_Min()

func Calc_PromxClus

func Calc_PromxClus()

func Iteraciones

func Iteraciones()

func Kmeans

func Kmeans()

func ReadCSVFromUrl

func ReadCSVFromUrl(url string) ([][]string, error)

Types

type Locale

type Locale struct {
	Department string `json:"departamento"`
	Province   string `json:"provincia"`
	District   string `json:"distrito"`
}

type Prueba

type Prueba struct {
	Id          int     `json:"id"`
	Date        string  `json:"fecha"`
	Type        string  `json:"tipomuestra"`
	Result      int     `json:"resultado"`
	Age         int     `json:"edad"`
	Sex         int     `json:"sexo"`
	Institution string  `json:"institucion"`
	Locale      *Locale `json:"localidad,omitempty"`
	Cluster     int     `json:"cluster,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL