Search Results for

    Show / Hide Table of Contents

    Class Cluster

    Inheritance
    Object
    Cluster
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: NeuralNets
    Assembly: AudioAnalysisTools.dll
    Syntax
    public class Cluster

    Constructors

    | Improve this Doc View Source

    Cluster(List<Double[]>)

    Initializes a new instance of the Cluster class. CONSTRUCTOR Init with list of vectors.

    Declaration
    public Cluster(List<double[]> list)
    Parameters
    Type Name Description
    List<Double[]> list
    | Improve this Doc View Source

    Cluster(Double[])

    Initializes a new instance of the Cluster class. CONSTRUCTOR Init with centroid.

    Declaration
    public Cluster(double[] vector)
    Parameters
    Type Name Description
    Double[] vector

    Properties

    | Improve this Doc View Source

    Centroid

    Declaration
    public double[] Centroid { get; }
    Property Value
    Type Description
    Double[]
    | Improve this Doc View Source

    Size

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Vectors

    Declaration
    public List<double[]> Vectors { get; }
    Property Value
    Type Description
    List<Double[]>

    Methods

    | Improve this Doc View Source

    CalculateCentroid()

    Declaration
    public double[] CalculateCentroid()
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    DistanceFromCentroid(Double[])

    calculate euclidian distance of vector from centroid.

    Declaration
    public double DistanceFromCentroid(double[] vector)
    Parameters
    Type Name Description
    Double[] vector
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    ResetMembers()

    Declaration
    public void ResetMembers()
    | Improve this Doc View Source

    SetCentroid(Double[])

    Declaration
    public void SetCentroid(double[] vector)
    Parameters
    Type Name Description
    Double[] vector

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top