Exporting Julia code as HTML or PDF
@brett_knoss wrote: How do I export my .jl program as an HTML or PDF for a report? Posts: 9 Participants: 2 Read full topic
View ArticleHelp with ChisqTest
@darrencl wrote: Hi, I want to test my variable is independent from target y with ChisqTest from HypothesisTests.jl, so I think I would need to use the contingency table instead of goodness of fit...
View ArticleHow run script in Juno with parameters?
@Darione wrote: Is possible to run Julia file in Juno , as running it as command line passing it some arguments? i don’t know where i can specify arguments in running a script in Juno … Posts: 2...
View ArticleFlux v0.10.1 has no "tracked" array
@Eldho.Ashna wrote: Hi everyone. I was learning Flux using the JUliaAcademy. Below is the link: https://juliaacademy.com/courses/526449/lectures/9600470 I’m facing the following problems while running...
View ArticleError: type Array has no field data
@Eldho.Ashna wrote: Hi everyone. I was doing the course on Flux.jl by JuliaAcademy. When I run the following code, using Plots plot() contour!(0:0.01:1, 0:0.01:1, (x,y)->model([x,y]).data[1],...
View ArticleOverride printed representation of vectors
@ea42gh wrote: Is there a way to override the print representation of a complex vector? u=[1 2]; println( "u=$u") u=[1im 2]; println( "u=$u") yields u=[1 2] u=Complex{Int64}[0 + 1im 2 + 0im] I want to...
View ArticleProblem in running Julia on Juno
@Darione wrote: I have disinstalled Julia and Atom many times, and delete the c:\users\dario \ .julia and c:\users\dario \ .atom the same number of times … but it seems juno is blocked … when starting...
View ArticleTaro package ... what is this JULIA_COPY_STACKS?
@Darione wrote: Setting JULIA_COPY_STACKS 1 or yes, make Taro package working … but it breaks the REPL of Juno, that doesn’t load Julia … What is this JULIA_COPY_STACKS ? how can i use Taro package...
View ArticleJulia Python equivalent of __main__?
@Darione wrote: In Julia, what is the python equivalent of if name == “main” ? For example: def main(): pass def print_tre_volte(parola): print(parola) print(parola) print(parola) if __name__ ==...
View ArticleUpdating a plot
@pjgorski wrote: How to update an already created plot? Let’s say we have a plotting function returning a handle like this one: h=plot(x, y, seriestype:scatter) And, afterwards, we decided to change...
View ArticleCan someone explain to me what crossentropy does?
@samantp wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic
View ArticleDynamic name of DataFrames by iteration
@Alfre_chile77 wrote: Hi, I want to create seven different Data Frames with different names tbl1:tbl7 based on the iteration over groupby()[i] n1=7 for i in 1:n1 global “tbl$(i)” “tbl$(i)”=...
View ArticleStrange array calculation behaviour
@Bjorn_De wrote: Hi! I have two arrays, with both the same size. I want to do some simple calculations such as: arr = (arr1 ./ arr2) .* 100 maximum(arr1) is 31.0 and maximum(arr2) is 48. So I assume...
View ArticleSolving and ODE system starting from different initial points
@cshen wrote: Hello, I have a simple system of which i would like to build the phase portrait. I thought of creating a mesh of interesting points and solve the problem for each of them. This is what i...
View ArticleHow to export/use a type alias?
@leiteiro wrote: This is the situation: module A export myType const myType = Array{BigInt,1} isa([BigInt(1)], myType) |> println end module B using A isa([BigInt(1)], myType) |> println end In...
View ArticleIs there an idiomatic way to iterate over all binary strings of a given length?
@lesshaste wrote: I would like to iterate over all binary strings of length n, for some smallish integer n. Is there an idiomatic Julia way to do that? Posts: 9 Participants: 6 Read full topic
View ArticleDifferentialEquations sanity check
@Luigi_Marongiu wrote: Hello, I have been using DifferentialEquations to try and model microbial interactions. In the first approach, I give some absolute concentrations of bacteria and phages...
View ArticleJulia PyPlot equivalent to R's points
@Luigi_Marongiu wrote: Hello, I have a plot with made with PyPlot I would like to customize adding levels of data. The base of the plot is this (the R’s equivalent to the high-level drawing): This was...
View ArticleDense Layers, softmax, relu
@samantp wrote: I am running through the 60 minute blitz in flux’s model zoo and was looking for some clarity on functions that I havn’t seen before. I am on line 205 and I am struggling to understand...
View ArticleRemoving the first line in a text file
@Jakob wrote: Hi everyone, how would I go about removing the first line of a (potentially very large) text file, ideally without having to load the file into a DataFrame or copying the full file? Best...
View Article