예제 #1
0
        public static List <ClusteredDataObject> Clustering(RoughSetInformations roughSetInformations, List <DataObject> dataObjects)
        {
            _dataObjects = dataObjects;
            _attributes  = roughSetInformations.ArgumentNames.Select(argumentName => new Attribute(argumentName)).ToList();
            _fastVector  = PrepareFastVector();

            if (_dataObjects == null)
            {
                return(null);
            }

            _argumentsClustersRangeList = PrepareArgumentsClustersRangeList();

            SortArgumentsClustersRangeListItems();

            return(PrepareClusteredDataObjectsCollection());
        }
예제 #2
0
 private void CreateRoughSetInformations(List <string> argumentNames, List <string> decisionClasses)
 {
     RoughSetInformations = new RoughSetInformations(argumentNames, decisionClasses);
 }