Code Monkey home page Code Monkey logo

tutorials's Introduction

tutorials

different types of tutorials, such as machine learning, image processing and etc.

tutorials's People

Contributors

dolaameng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorials's Issues

Multiple error related to indices occurs while running code

Using Python version 3.6
In Cell 43 - ERROR

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

issue with last line of code.

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.