Git Product home page Git Product logo

Comments (9)

ppalmes avatar ppalmes commented on September 28, 2024

thanks for raising the issue. the unit-testing does not catch plotting so i may have missed this issue. i'll take a look and get back here. also, the Plots.jl has undergone many changes so it can be due to changes in the API issue.

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

i fixed the issue in the latest release which will be in 2.7.4 or you can manually point to the main branch to try it.

using Pkg
Pkg.add("https://github.com/IBM/TSML.jl")

from tsml.jl.

dimsinel avatar dimsinel commented on September 28, 2024

Hi.
Am i doing something wrong here?
I get almost the same error as before -- just changed by one line number, from pipelines.jl 88 to 89:

fit!(mypipeline, df)

BoundsError: attempt to access 0-element Vector{Machine} at index [0]

Stacktrace:
[1] getindex(A::Vector{Machine}, i1::Int64)
@ Base ./essentials.jl:13
[2] fit!(pipe::Pipeline, features::DataFrame, labels::Vector{Any})
@ AMLPipelineBase.Pipelines ~/.julia/packages/AMLPipelineBase/sH55F/src/pipelines.jl:89
[3] fit!(pipe::Pipeline, features::DataFrame)
@ AMLPipelineBase.Pipelines ~/.julia/packages/AMLPipelineBase/sH55F/src/pipelines.jl:73
[4] top-level scope
@ ~/work/julia/TimeSeries/TSML.jl.notebooks/StaticPlotting.jl.ipynb:1


julia> VERSION
v"1.9.0-rc2"

julia> Pkg.status()
Status ~/work/julia/TimeSeries/Project.toml
[e3c3008a] AMLPipelineBase v0.1.12
[08437348] AutoMLPipeline v0.4.0
[336ed68f] CSV v0.10.9
[a93c6f00] DataFrames v1.5.0
[945b72a4] MarketData v0.13.12
[ef544631] Pipelines v0.10.0
[91a5bcdd] Plots v1.38.9
[198dc43e] TSML v2.7.4 https://github.com/IBM/TSML.jl#master
[bd369af6] Tables v1.10.1
[9e3dc215] TimeSeries v0.23.1
[ade2ca70] Dates

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

try

using Plots 

because i'm using Plot recipes to avoid Plots as a dependency during TSML loading which used to be heavy. Recently, Plots is quick so i may just include Plots as a dependency in the future.

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

also, try running the StaticPlotting notebook because I edited it to include the correct dependencies. no need to use the main branch because the new release is available. just update your packages.

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

you can slack me by the way in julia slack if you have still issues.

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

please close this issue if you think it's fixed.

from tsml.jl.

dimsinel avatar dimsinel commented on September 28, 2024

Yes, it works fine.

Case closed.

from tsml.jl.

ppalmes avatar ppalmes commented on September 28, 2024

glad to help and thanks for the feedback.

from tsml.jl.

Related Issues (20)

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.