Questions tagged [ijulia-notebook]

IJulia is a Julia-language backend combined with the Jupyter interactive environment (also used by IPython). This combination allows to interact with the Julia language using Jupyter/IPython's powerful notebook, which combines code, formatted text, math, and multimedia in a single document.

198 questions
0
votes
0 answers

Error 500 while exporting Jupyter notebooks

I've set the Julia kernel in the Jupyter notebook. I wrote a notebook, but when I try to export it I get the following error: Which reads: nbconvert failed: No module named 'pygments.lexers.julia' I don't really know what is the error or how to…
0
votes
2 answers

How to tune the hyperparameters of a Bayesian ODE fit in Julia?

I have been trying to replicate https://diffeqflux.sciml.ai/dev/examples/BayesianNODE_NUTS/, using different ODE equation, but I have received this result without uncertainty quantification, is it because I did the initial value u0 is higher…
Minou92
  • 137
  • 7
0
votes
1 answer

setindex! error in julia? when using "For loop" for DateTime

I learn Julia from Coursera, And when I reached 2nd week lecture some codes error in my notebook. It give me setindex! not defined for WeakRefStrings.StringArray{String,1} error. Csv File import here using CSV, Dates wikiEVDraw =…
0
votes
1 answer

Juliabox cannot be launched

Today when I was trying to use JuliaBox on my browser, I found that I cannot even launch it. (Please see the picture below). Every button on the page is not clickable. Does anyone know how to solve this? Thanks No button can be clicked on my…
Min Wu
  • 103
  • 2
0
votes
1 answer

ArgumentError: New columns must have the same length as old columns

I have a problem in the simulation loop. The problem is that new matrices don't have the same length as old variables. I'm not sure if the problem comes from the initial values of the variables or from the simulation loop. I'm using julia…
0
votes
2 answers

How to configure julia, R, C, C++, Fortran, python in jupyter lab?

I am trying to setup a Lab environment for Machine Learning Course. I want to use jupyterLab with python, R, C, julia, and Fortran. I also want to know the best way to setup all these, in Ubuntu 18.04. I have installed julia and jupyter lab. When I…
JMG
  • 1
  • 1
0
votes
1 answer

Using struct from a module inside another module in Julia

I have found similar questions on SO but none of them seem to give an answer that works for my case. I have a few modules, in one of them I create a mutable struct which I want to be able to use in the others. All files are at the same…
Pablo Duque
  • 383
  • 2
  • 20
0
votes
0 answers

How to multiply 2 Beta functions in julia0.6.2?

I have two random variables: B1 ~ Beta(α1,β1) B2 ~ Beta(α2,β2) I would like to compute distribution of Z = B1*B2 (the product of the random variables) Using Julia, how can I get the pdf of a single Beta with: x = collect(0:0.001:1); b1 =…
Akash
  • 395
  • 5
  • 16
0
votes
1 answer

Unable to install IJulia failed to clone from repository error

I tried julia> using Pkg julia> Pkg.add("IJulia") And everytime I am getting the same error Cloning default registries into C:\Users\Himanshu Poddar\.julia\registries Cloning registry General from…
Himanshu Poddar
  • 7,112
  • 10
  • 47
  • 93
0
votes
1 answer

Julia graphics fonts very small in Jupyter notebook

When I create a graph in an iJulia notebook, the font in the axis labels and legend is extremely small and I can't seem to make it bigger. I am running Julia 1.0.0 in a Jupyter notebook (jupyter: 1.0.0-py36_7) on Linux (Ubuntu). For example, the…
0
votes
0 answers

jupyter-kernelspec' not found, when executing Pkg.build("IJulia")

Please, trying to rebuild IJulia given I am not able to launch it via Anaconda navigator (I receive the red kernel error). With the command Pkg.build("IJulia"), below is the output: INFO: Building Conda INFO: Building…
ludo
  • 35
  • 9
0
votes
2 answers

Multi dimensional array in Gurobi/Jump/Julia

I am using Jump/Julia to solve an optimization problem. It is a transportation problem with some source locations and some destinations. Additionally, I have different product types so sending one kind of product from source i to destination j is…
bhawesh sah
  • 103
  • 1
  • 10
0
votes
1 answer

Plotting in Julia -- Pyplots backend with Plots.jl

I'm trying to show a figure in a window like Matlab figures ot matplotlib figures in Python. I am using the Plots.jl package with the Pyplot backend. I can save my plots as svg or png files, but i do not know ho to show them interactively using…
inarighas
  • 720
  • 5
  • 24
0
votes
2 answers

Opening a specific Julia notebook (via IJulia) in the REPL

the Julia (i'm using 0.6.2) REPL makes it possible to do some work and then execute julia> using IJulia julia> notebook(dir=pwd(), detached=true) which nicely launches jupyter in the directory specified by dir. is it possible from the REPL to…
ShpielMeister
  • 1,417
  • 10
  • 23
0
votes
1 answer

IJulia installation : miniconda installation infinite loop

I'm trying to install IJulia ( I ran Pkg.add("IJulia") and now running Pkg.build("IJulia") says the package is installed ), but constantly getting these messages for a long while now : INFO: Downloading miniconda installer ... INFO: Installing…
zivo
  • 120
  • 8