This is the code repository for Mastering Julia, published by Packt.
Enhance your analytical and programming skills for data modeling and processing with Julia
This book covers the application of Julia v1.8.x in the areas of scientific computing and data science. The book will be of use to those with some previous knowledge of Julia or as a primer for programmers familiar with other scripting or compiled languages.
This book covers the following exciting features:
- Develop simple scripts in Julia using the REPL, code editors, and web-based IDEs
- Get to grips Julia’s type system, multiple dispatch, metaprogramming, and macro development
- Interact with data files, tables, data frames, SQL, and NoSQL databases
- Delve into statistical analytics, linear programming, and optimization problems
- Create graphics and visualizations to enhance modeling and simulation in Julia
- Understand Julia's main approaches to machine learning, Bayesian analysis, and AI
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, folder Code02 contains code for Chapter 2.
The code will look like the following:
function basel(M::Integer)
@assert M > 0
s = 0.0
for i = 1:M
s += 1.0/float(i)^2
end
return s
end
@show(basel(10^6));
basel(10^6) = 1.6449330668487
Following is what you need for this book: This book is not an introduction to computer programming, but a practical guide for developers who want to enhance their basic knowledge of Julia, or those wishing to augment their skill set by adding Julia to their existing roster of programming languages. Familiarity with a scripting language such as Python or R, or a compiled language such as C/C++, C# or Java, is a prerequisite.
With the following software and hardware list you can run all code files present in the book (Chapter 1-11).
Chapter | Software required | OS required |
---|---|---|
1-11 | Julia 1.X | Windows, macOS, or Linux |
Malcolm Sherrington has been working in computing for over 40 years. Malcolm holds degrees in Mathematics, Chemistry, and Engineering at the masters and doctorate level, and was employed as a lecturer at the University of Brighton and Imperial College London, in addition to working in the Aerospace at Rome and Munich. Subsequently, he ran his own consultancy in the Finance sector, with specific interests in Risk and High Performance Computing; augmenting his academic studies at Kings and Birkbeck Universities, London, in Financial Mathematics and Econometrics. Malcolm started programming scientific problems in Fortran and C, as part of his postgraduate research, then incorporating Ada and Lisp and recently became involved with data processing and analytics in Perl, Python, and R