-
Notifications
You must be signed in to change notification settings - Fork 339
Closed
Labels
documentation enhancementgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
The original MSTUMP paper is here.
The data and code for mSTAMP can be found here.
For the 3-dimensional toy dataset shown in Figure 2, the data can be retrieved by:
#!/usr/bin/env python
from scipy.io import loadmat
import ssl
import io
import urllib
import pandas as pd
context = ssl.SSLContext()
url = "https://github.com/mcyeh/mstamp/blob/master/Python/toy_data.mat?raw=true"
raw_bytes = urllib.request.urlopen(url, context=context).read()
data = io.BytesIO(raw_bytes)
mat = loadmat(data)
mdata = mat['data']
mdtype = mdata.dtype
df = pd.DataFrame(mdata, dtype=mdtype, columns=['dim1', 'dim2', 'dim3'])
print(df)
Metadata
Metadata
Assignees
Labels
documentation enhancementgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed