IWeightTable Interface |
Namespace: imbSCI.DataComplex
public interface IWeightTable : IEnumerable<IWeightTableTerm>, IEnumerable, IObjectWithName
The IWeightTable type exposes the following members.
| Name | Description | |
|---|---|---|
| max |
Gets the maximum frequency in the collection
| |
| maxWeight |
Gets the maximum weight
| |
| name |
Ime koje je dodeljeno objektu
(Inherited from IObjectWithName.) | |
| parent |
Gets the parent.
| |
| sum |
Gets the sum of all frequencies
| |
| sumWeight |
Gets the sum weight. (no update check)
|
| Name | Description | |
|---|---|---|
| Add(Object) |
Implementation for serialization
| |
| Add(IEnumerableIWeightTableTerm) |
Adds the specified terms into table
| |
| Add(String, Int32) |
Adds the specified term given as string
| |
| Add(IWeightTableTerm, Int32) |
Adds the specified term - or updates existing
| |
| AddExternalDataTable |
Loads term definitions from the specified DataTable, interpreting termName_column and termAFreq_column. Leave * to use export default column names.
| |
| AddExternalDocument |
Copies matching terms from external document> adds new if have to, rise the abs frequency if exists
| |
| containsByName | ||
| Count |
Number of terms defined in the document. If expandedCount is TRUE it will also count all instances defined within one semantic term
| |
| GetAFreq(String) |
Gets the absolute frequency for the term
| |
| GetAFreq(IWeightTableTerm) |
Gets the absolute frequency of the specified term
| |
| GetAllTerms | ||
| GetAllTermString |
Returns list of all terms in nominal form or by name
| |
| GetBDFreq(String) | ||
| GetBDFreq(IWeightTableTerm) |
Gets the binary document frequency of the specified term, i.e.: number of documents containing the term
| |
| GetCompiledTable | ||
| GetCrossSection |
Gets the cross section of matched terms
| |
| GetCWeight |
Gets the cumulative weight (sum of all weights)
| |
| GetDataTable |
Gets the table.
| |
| GetDataTableClean |
Exports clean version of data table - more compatibile for later load
| |
| GetIDF(String) |
Gets the idf.
| |
| GetIDF(IWeightTableTerm) |
Gets the idf - inverse document frequency
| |
| GetMatchByString | ||
| GetMatchTerm | ||
| GetMatchTermByName(String) |
Gets the match term by the name.
| |
| GetMatchTermByName(IWeightTableTerm, Boolean) |
Gets the match term by the name .
| |
| GetNFreq(String) |
Gets the cumulative weight for the term
| |
| GetNFreq(IWeightTableTerm) |
Gets the normalized frequency of the specified term
| |
| GetNWeight(String) |
Gets the normalized weight for the term
| |
| GetNWeight(IWeightTableTerm) |
Gets the normalized weight for the term
| |
| GetTF_IDF(String) | ||
| GetTF_IDF(IWeightTableTerm) |
Gets the tf idf (term frequency - inverse document frequency
| |
| GetWeight(String) |
Gets the weight for the term
| |
| GetWeight(IWeightTableTerm) |
Gets the weight for the term
| |
| isMatch |
Determines whether the specified term is contained within the document
| |
| isMatchByName |
Heuristic method - comparing only the term name against the contained collection
| |
| isMatchBySemantics |
Determines what kind of match this term might be to this table
| |
| RemoveTerm | ||
| RemoveUnderWeight |
Removes the terms under specified weight.
| |
| RemoveZeroWeidht |
Removes the terms with zero weidht.
| |
| SetWeightTo_FrequencyRatio |
Sets the weight of each term as proportion between absolute frequency and total sum of all frequencies
| |
| SetWeightTo_NominalFrequency |
Sets the term weight = as nominal fequency
| |
| SetWeightTo_TF_IDF |
Sets the weights according to current TF_IDF of a term
| |
| updateMaxValues |
Updates the maximum AFreq and CWeight - if chagnes occured since last call.
|
| Name | Description | |
|---|---|---|
| buildDataTable |
2017::Builds data table out of collection. Supported properties: primitives, enums and IGetFromToString interface types
(Defined by DataTableBuilders.) | |
| BuildDataTableHorizontal |
Builds the data table using reflection and selected columns. Supports formating instruction, expression and other advanced atributes
(Defined by PropertyDataStructureTools.) | |
| buildPropertyCollectionList |
Builds the property collection list from IEnumerable source collection
(Defined by imbPropertyCollectionExtensions.) | |
| ConvertListIWeightTableTerm, TTarget | (Defined by collectionExtensions.) | |
| ConvertToListTTarget | (Defined by collectionExtensions.) | |
| count |
Universal counting
(Defined by collectionExtensions.) | |
| CreateNestedDataTableIWeightTableTerm, TInner |
Creates the nested data table. http://stackoverflow.com/questions/33823820/convert-generic-nested-list-to-datatable
(Defined by DataTableETL.) | |
| GetAggregatesIWeightTableTerm |
Gets aggregated version of the objects
(Defined by collectionAggregation.) | |
| getAllEnums |
Gathers all enumerations found in the collection
(Defined by collectionExtensions.) | |
| getAllOfTypeT |
Gets the first instance of type in supplied collection. makeNewIfNotFound (Defined by collectionExtensions.) | |
| GetChartDataTableIWeightTableTerm |
Makes data table for chart
(Defined by UniversalGenerators.) | |
| GetCrossSectionIWeightTableTerm |
Gets the cross section: only items that are in common to all collections
(Defined by collectionExtensions.) | |
| GetDifferenceIWeightTableTerm | (Defined by collectionExtensions.) | |
| getFirstOfTypeT |
Gets the first instance that is compatibile with T in supplied collection. Supports PropertyCollection and other collections
(Defined by collectionExtensions.) | |
| getFirstSafe |
Gets the first safe.
(Defined by collectionExtensions.) | |
| getFlatArrayT | (Defined by collectionExtensions.) | |
| getFlatListT | (Defined by collectionExtensions.) | |
| GetHistogramModelIWeightTableTerm | (Defined by histogramModelExtensions.) | |
| GetMatches(IEnumerableString) | Overloaded.
Returns the matching term entries
(Defined by weightTableSetOperations.) | |
| GetMatches(IEnumerableIWeightTableTerm) | Overloaded.
Returns the matching term entries
(Defined by weightTableSetOperations.) | |
| GetScoreAggregate | (Defined by weightTableSetOperations.) | |
| GetScoreForMatch(IEnumerableString, termTableColumns, dataPointAggregationType) | Overloaded.
Queries table for specified terms and return aggregated score. The score source is specified by tf_idf (only numeric columns are supported).
(Defined by weightTableSetOperations.) | |
| GetScoreForMatch(IEnumerableIWeightTableTerm, termTableColumns, dataPointAggregationType) | Overloaded.
Queries table for specified terms and return aggregated score. The score source is specified by tf_idf (only numeric columns are supported).
(Defined by weightTableSetOperations.) | |
| GetSVGChartIWeightTableTerm | (Defined by UniversalGenerators.) | |
| GetSVGPieChartIWeightTableTerm |
Gets the SVG pie or doughnut chart.
(Defined by UniversalGenerators.) | |
| GetTrendIWeightTableTerm |
Gets the trend from set of objects
(Defined by measureTrendTools.) | |
| GetUnionIWeightTableTerm | (Defined by collectionExtensions.) | |
| imbFirstOrMoreIWeightTableTerm |
Vraca jedan ili vise resursa koji ispunjavaju uslov
(Defined by collectionExtensions.) | |
| imbFirstSafe(Int32) | Overloaded.
Imbs the first safe.
(Defined by collectionExtensions.) | |
| imbFirstSafeIWeightTableTerm(Int32) | Overloaded.
Proverava uslov
(Defined by collectionExtensions.) | |
| imbFirstSafeIWeightTableTerm(FuncIWeightTableTerm, Boolean) | Overloaded.
Proverava uslov
(Defined by collectionExtensions.) | |
| imbGetIndexOf |
Gets index of item in an unknown enumeration
(Defined by collectionExtensions.) | |
| imbGetItemAt |
Universal method for getting element out of unknown IEnumerable (Defined by collectionExtensions.) | |
| imbLastSafeIWeightTableTerm |
Imbs the last safe.
(Defined by collectionExtensions.) | |
| isNullOrEmpty |
Proverava da li je kolekcija null ili bez clanova
(Defined by collectionExtensions.) | |
| markdownList |
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringMarkdownExtensions.) | |
| RandomizeToListIWeightTableTerm |
Returns a new list where the elements are randomly shuffled.
Based on the Fisher-Yates shuffle, which has O(n) complexity.
(Defined by collectionExtensions.) | |
| takeFirstFromListIWeightTableTerm(IWeightTableTerm) | Overloaded.
Vraca prvi element koji je pronadjen u ulaznom skupu - default vraca prvi element matchList
(Defined by collectionExtensions.) | |
| takeFirstFromListIWeightTableTerm(IEnumerableIWeightTableTerm, IWeightTableTerm) | Overloaded.
Vraca prvi objekat koji se nalazi i u ovom skupu i u matchList skupu
(Defined by collectionExtensions.) | |
| textList |
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringTextExtensions.) | |
| toCsvFileIWeightTableTerm |
2017: Saves CSV to file from path
(Defined by csvFileExtensions.) | |
| toCsvInLine |
Renders CSV line from [!:object.toStringSafe()], [!:separator] is removed from item String
(Defined by imbDataExtensions.) | |
| toListIWeightTableTerm |
Konvertuje niz u listu
(Defined by collectionExtensions.) |