![]() |
Multivariate Pattern Analysis in Python |
Misc. plotting helpers.
Make bar plots with automatically computed error bars.
Candlestick plot (multiple interleaved barplots) can be done, by calling this function multiple time with appropriatly modified offset argument.
| Parameters: |
|
|---|
Quick plot to see chunk sctructure in dataset with 2 features
if clf_labels is provided for the predicted labels, then incorrectly labeled samples will have ‘x’ in them
Make a line plot with errorbars on the data points.
| Parameters: |
|
|---|
Make dataset with 20 samples from a full sinus wave period,
computed 100 times with individual noise pattern.
>>> x = N.linspace(0, N.pi * 2, 20)
>>> data = N.vstack([N.sin(x)] * 30)
>>> data += N.random.normal(size=data.shape)
Now, plot mean data points with error bars, plus a high-res
version of the original sinus wave.
>>> x = N.linspace(0, N.pi * 2, 200)
>>> plotErrLine(data, curves=[(x, N.sin(x))])
>>> #P.show()
Plot histograms of feature values for each labels.
| Parameters: |
|
|---|
Plot the euclidean distances between all samples of a dataset.
| Parameters: |
|
|---|