Description
Generate one labeled Gaussian mixture and compare existing fuzzy memberships with possibilistic typicalities under supplied parameters in uniformly normalized coordinates; retain the cores' last-update weights and centroids without treating typicalities as probabilities or claiming convergence from an iteration count.
Synthetic statistical data separates a specified generating model from the values observed in a finite draw. A model parameter, a sample summary, and the result of a fitted analysis answer different questions; retaining them separately makes numerical and statistical checks easier to interpret.
Generate one labeled Gaussian mixture and compare existing fuzzy memberships with possibilistic typicalities under supplied parameters in uniformly normalized coordinates; retain the cores' last-update weights and centroids without treating typicalities as probabilities or claiming convergence from an iteration count.
When to use this tool
Use this generator to create reproducible fuzzy cluster membership benchmark cases from the supplied model or bank. Inspect the returned evidence before using cases in a test or exercise.
How to use the tool and how it works
- Supply clusters, centerCount, settings, maximumIterations in the field shapes below. Set seed when you need an explicit replay.
- Run the tool and correct any input error. For generated controls, distinguish a successful fixture containing an invalid case from failure to generate the fixture.
- Read points, sourceLabels, distanceScale, runs. Use the conventions below. Keep answer-bearing fields separate when presenting an exercise.
Draw and shuffle labeled Gaussian cluster points, normalize coordinates with one distance scale, and run fuzzy and possibilistic c-means for each supplied fuzzifier and typicality scale. Return source labels and the full membership or typicality matrices.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| clusters | Clusters | Required. Array of Object; no unknown keys.; minimum items 1; maximum items 8. |
| clusters[].center | Center | Required. Array of Finite number.; minimum items 1; maximum items 8. |
| clusters[].standardDeviation | Standard Deviation | Required. Finite number; minimum 0. |
| clusters[].pointCount | Point Count | Required. Safe integer; minimum 1; maximum 128. |
| centerCount | Center Count | Required. Safe integer; minimum 1; maximum 8. |
| settings | Settings | Required. Array of Object; no unknown keys.; minimum items 1; maximum items 8. |
| settings[].fuzzifier | Fuzzifier | Required. Finite number; strictly above 1. |
| settings[].typicalityScale | Typicality Scale | Required. Finite number; strictly above 0. |
| maximumIterations | Maximum Iterations | Required. Safe integer; minimum 1; maximum 1000. |
| seed | Optional numeric seed; takes precedence over context randomness. Without either, use the fixed tool.io default seed. | Optional. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| points | Points | Required. Array of Array of Finite number.; minimum items 1; maximum items 8.; minimum items 1; maximum items 128. |
| sourceLabels | Source Labels | Required. Array of Safe integer; minimum -1; maximum 7.; minimum items 1; maximum items 128. |
| distanceScale | Distance Scale | Required. Finite number; strictly above 0. |
| runs | Runs | Required. Array of Object; no unknown keys.; minimum items 1; maximum items 8. |
| runs[].fuzzifier | Fuzzifier | Required. Finite number; strictly above 1. |
| runs[].typicalityScale | Typicality Scale | Required. Finite number; strictly above 0. |
| runs[].fuzzy | Fuzzy | Required. Object; no unknown keys. |
| runs[].fuzzy.centroids | Centroids | Required. Array of Array of Finite number.; minimum items 1; maximum items 8.; minimum items 1; maximum items 8. |
| runs[].fuzzy.memberships | Memberships | Required. Array of Array of Finite number; minimum 0; maximum 1.; minimum items 1; maximum items 8.; minimum items 1; maximum items 128. |
| runs[].fuzzy.iterations | Iterations | Required. Safe integer; minimum 1; maximum 1000. |
| runs[].possibilistic | Possibilistic | Required. Object; no unknown keys. |
| runs[].possibilistic.centroids | Centroids | Required. Array of Array of Finite number.; minimum items 1; maximum items 8.; minimum items 1; maximum items 8. |
| runs[].possibilistic.typicalities | Typicalities | Required. Array of Array of Finite number; minimum 0; maximum 1.; minimum items 1; maximum items 8.; minimum items 1; maximum items 128. |
| runs[].possibilistic.iterations | Iterations | Required. Safe integer; minimum 1; maximum 1000. |
| randomness | Replay source and normalized 32-bit seed, or null seed for an advancing context source. | Required. Object; no unknown keys. |
| randomness.seed | Optional safe-integer replay seed; normalization and precedence are explained below. | Required. Safe integer. or Null. |
| randomness.source | Source | Required. Text; one of "context", "seed". |
An explicit safe-integer seed takes precedence over injected context randomness and is normalized to an unsigned 32-bit integer. With no seed and no context source, replay uses the fixed tool.io default seed. A context source must return finite values from zero inclusive to one exclusive; its advancing state must be retained separately. randomness records the source and normalized seed, or null for context. These generators are not cryptographic random sources.
{
"input": {
"clusters": [
{
"center": [
0
],
"standardDeviation": 0,
"pointCount": 2
},
{
"center": [
2
],
"standardDeviation": 0,
"pointCount": 2
},
{
"center": [
10
],
"standardDeviation": 0,
"pointCount": 2
}
],
"centerCount": 2,
"settings": [
{
"fuzzifier": 2,
"typicalityScale": 1
}
],
"maximumIterations": 1,
"seed": 42
},
"output": {
"points": [
[
2
],
[
2
],
[
10
],
[
0
],
[
0
],
[
10
]
],
"sourceLabels": [
1,
1,
2,
0,
0,
2
],
"distanceScale": 10,
"runs": [
{
"fuzzifier": 2,
"typicalityScale": 1,
"fuzzy": {
"centroids": [
[
0.10392006149116066
],
[
0.9985228951255538
]
],
"memberships": [
[
1,
0
],
[
1,
0
],
[
0,
1
],
[
0.9615384615384615,
0.038461538461538464
],
[
0.9615384615384615,
0.038461538461538464
],
[
0,
1
]
],
"iterations": 1
},
"possibilistic": {
"centroids": [
[
0.24900399734659887
],
[
0.6624484181568089
]
],
"typicalities": [
[
1,
0.6097560975609756
],
[
1,
0.6097560975609756
],
[
0.6097560975609756,
1
],
[
0.9615384615384615,
0.5
],
[
0.9615384615384615,
0.5
],
[
0.6097560975609756,
1
]
],
"iterations": 1
}
}
],
"randomness": {
"seed": 42,
"source": "seed"
}
}
} Limitations and assumptions
- Fuzzy memberships and possibilistic typicalities have different normalization meanings. Solver coordinates are normalized, and source labels describe generation rather than inferred truth. Initialization, bounded iterations, and work limits affect results.
- A replay requires the same complete input and implementation. The stated sampling convention applies within its eligible space. A finite draw does not exhaust all possible outputs; repeats remain possible unless a distinct-selection rule is explicit.
- The field tables state structural bounds; cross-field constraints and bounded search or output budgets also apply. Unknown keys are rejected where the object contract disallows them. Input errors are distinct from null fields and deliberate invalid controls in a successful output.
Alternative or Complementary methods
For a supplied example, inspect the returned construction or delegated check directly. To evaluate a consumer, also test cases chosen for its own boundaries; a generated finite corpus does not establish exhaustive coverage.
References
Similar or alternative tools
- Random Cluster Initialization Sensitivity Benchmark Generator
Generate one labeled Gaussian mixture and compare k-means++ starting-center coverage across explicit seeds using uniformly scaled squared distances; report initial centers and nearest-center costs, not iterative fits or an optimality guarantee.
- Random Cluster Shape Comparison Benchmark Generator
Generate caller-parameterized compact, elongated Gaussian and radially perturbed arc groups, then compare deterministic k-means and flat-kernel mean shift on the same uniformly normalized points; retain source labels separately from fitted labels, finite-budget failures and model parameters without claiming universal clustering quality.