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
2
votes
1 answer

Why is negative one (-1) elevated to the power of an even integer returning always the same result in Julia?

I'm currently executing the following (very simple) code in Julia: -1^2 But for some reason the result is always: -1 Now, if I put in parenthesis, then the answer is correct. So I'm curious as to why this is happening. I'm running this on a…
marcogemaque
  • 461
  • 6
  • 14
2
votes
1 answer

How can I add folders in my .juliarc folder for running programs in Julia?

I'm trying to setup the julia code here: https://github.com/SMuscimol/multiDchaos. Although I'm not sure how to include the repositories "RateNet", "AdaptiveNet" and "MyTools" in my .juliarc. Any help would be really appreciated!
2
votes
2 answers

Is there a way to suppress outputs inside a function in a Julia Jupyter notebook?

In a Jupyter cell, I'd like to call a function that has some println, @show, etc in it, but I don't want to see those outputs. Is there a way to call a function while suppressing outputs? I'm aware of ;, but my understanding is that ; only affects…
GLee
  • 5,003
  • 5
  • 35
  • 39
2
votes
1 answer

Why is Flux.jl throwing a "Warning: Slow Fallback implementation" and DimensionMismatch?

I am trying to create a convolutional neural network to classify MNIST data with Flux in Julia. I downloaded the data as a csv from this link: https://www.kaggle.com/oddrationale/mnist-in-csv. My code is below: using CSV using DataFrames using…
2
votes
0 answers

Unable to attach/download jupyter notebook to Julia

I was trying to open jupyter notebook through Julia but could not do so. I am getting the following error: julia> notebook() install Jupyter via Conda, y/n? [y]: y [ Info: Downloading miniconda installer ... ERROR: failed process:…
Prada
  • 21
  • 2
2
votes
0 answers

Julia Interact widgets not reacting

I've been having a weird issue for a long time now. I've tried multiple things, but they only worked temporarily at best. I'm using the Julia package "Interact.jl" in Jupyter Notebook to create some interactive plots. But the problem occurs…
2
votes
1 answer

How can I zoom in&out of a displayed Julia output Image in a Jupyter notebook?

In my jupyter notebook I'm computing and displaying images using the Images package. Is there a way that I can press a hotkey combination + mouse so I could zoom into the images i'm getting on the output? For instance, I have this cell: using Plots,…
sramij
  • 4,775
  • 5
  • 33
  • 55
2
votes
1 answer

How to load raw binary array data into Julia and display it?

I would like to load a raw image data (such as the .raw ones from http://eeweb.poly.edu/~yao/EL5123/SampleData.html) into Julia and display them. Basically, I am looking for a way to load file into Julia as Array{xxx} type. Any ideas?
sramij
  • 4,775
  • 5
  • 33
  • 55
2
votes
1 answer

Change plot window size in Julia notebook

I am using Julia notebook and making plots using basic Plots package. A plot looks good, except its entire size. I can change the plot size and font size of labels individually. But it becomes less readable unless I change the font size and line…
Hyeon Lee
  • 21
  • 3
2
votes
1 answer

Julia: how do you list kernels installed with `installkernel`?

Is there a built-in IJulia function that list the kernels I have installed? I installed a kernel using installkernel and some time after I wanted to remove it with rm. I could remember the name I gave it but not the path IJulia uses to install the…
rodrigolece
  • 1,039
  • 2
  • 13
  • 19
2
votes
1 answer

Best way to avoid output truncation when using IJulia-notebook

From the source I can see that IJulia Truncate the output to max_output_per_request bytes per execution request since excessive output can bring browsers to a grinding halt. I also agreed that having very long prints during interactive sections is…
2
votes
1 answer

JuliaPro: import Jupiter notebook

I usually use Jupyter to have my interactive environment with Julia, now I am switching to JuliaPro, as they claim it is the fastest and easiest way of Julia programming. But, I cannot upload my .ipynb notebooks on JuliaPro. Are they compatible with…
Mahdiar
  • 104
  • 10
2
votes
1 answer

Julia.I decided to test some math in Julia and I got an error

Here is an expression, check it yourself: Julia: ((((9^0.5)^3)^2)^2)/((-2)^(-3)) Python: ((((9**0.5)**3)**2)**2)/((-2)**-3) enter image description here
Alitako
  • 31
  • 2
2
votes
1 answer

Adding Package in Julia - Frozen

I'm just starting to look at Julia (following a tutorial). I tried to do this: using Pkg Pkg.add("IJulia") but the install is stuck on 99.9% and nothing is happening. Cloning default registries into `C:\Users\Alan\.julia` Cloning registry from…
Alan
  • 619
  • 6
  • 19
2
votes
3 answers

What is "setindex! not defined" error in julia?

When I run my code one error occurs with my code setindex! not defined for WeakRefStrings.StringArray{String,1} CSV File here. using CSV EVDdata =CSV.read(raw"wikipediaEVDdatesconverted.csv") EVDdata[end-9:end,:] And the Error Code is here rows,…
codewithearth
  • 75
  • 1
  • 7