The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
transform example set to histogram
Is there a possibility to work on the histogram of the data (as can be shown by the plotter)?
In particular:
- given an example set with several instances
- discretize values of one attribute in f bins
- return an example set with f attributes (corresponding to the f bins) which contains only one instance (values are instance counts of source example set)
I want to use this to get a representation of an example set and then compare the histogram against histograms of other example sets (e.g. by applying Euklidian or Manhattan distance measure to the histrogram vector).
There are operators like BinDiscretization and Aggregation, but is there another operator which performs exactly what can be shown by histogram plotter?
0
Answers
unfortunately there is no operator performing this task in one step, but it's quite easy to use a combination of Discretization and Aggregation as you already suggested. If you combine the operators in the way shown below, it should do the trick.