different types of tutorials, such as machine learning, image processing and etc.
dolaameng / tutorials Goto Github PK
View Code? Open in Web Editor NEWdifferent types of tutorials, such as machine learning, image processing and etc.
different types of tutorials, such as machine learning, image processing and etc.
IndexError Traceback (most recent call last)
in ()
4 pl.figure()
5 pl.plot(zts.iloc[:, i], '-+', label = "ts%i"%i)
----> 6 pl.plot(split9_ext[:, i], label = "paa%i"%i)
7 pl.legend(loc = "upper left")
IndexError: too many indices for array
In Cell 23 & 24 - ERROR
AxisError Traceback (most recent call last)
in ()
----> 1 sax_transform(ts, 7, "abcd")
in sax_transform(ts, n_pieces, alphabet)
22 for ts_value in ts_values])
23 paa_ts = paa_transform(znormalization(ts), n_pieces)
---> 24 return np.apply_along_axis(translate, 0, paa_ts)
~\Anaconda3\lib\site-packages\numpy\lib\shape_base.py in apply_along_axis(func1d, axis, arr, *args, **kwargs)
114 arr = asanyarray(arr)
115 nd = arr.ndim
--> 116 axis = normalize_axis_index(axis, nd)
117
118 # arr, with the iteration axis at the end
AxisError: axis 0 is out of bounds for array of dimension 0
File "codetorun.py", line ###, in sax_transform
return np.apply_along_axis(translate, 0, paa_ts)
File "/python3/anaconda3/lib/python3.6/site-packages/numpy/lib/shape_base.py", line 83, in apply_along_axis
% (axis, nd))
ValueError: axis must be less than arr.ndim; axis=0, rank=0.
i get this using the data provided and my own data. Anyone else getting this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.