Book Image

Julia Programming Projects

By : Adrian Salceanu
Book Image

Julia Programming Projects

By: Adrian Salceanu

Overview of this book

Julia is a new programming language that offers a unique combination of performance and productivity. Its powerful features, friendly syntax, and speed are attracting a growing number of adopters from Python, R, and Matlab, effectively raising the bar for modern general and scientific computing. After six years in the making, Julia has reached version 1.0. Now is the perfect time to learn it, due to its large-scale adoption across a wide range of domains, including fintech, biotech, education, and AI. Beginning with an introduction to the language, Julia Programming Projects goes on to illustrate how to analyze the Iris dataset using DataFrames. You will explore functions and the type system, methods, and multiple dispatch while building a web scraper and a web app. Next, you'll delve into machine learning, where you'll build a books recommender system. You will also see how to apply unsupervised machine learning to perform clustering on the San Francisco business database. After metaprogramming, the final chapters will discuss dates and time, time series analysis, visualization, and forecasting. We'll close with package development, documenting, testing and benchmarking. By the end of the book, you will have gained the practical knowledge to build real-world applications in Julia.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Index

Registering our package


Now, for the last step—making our package available to the world! For starters, we need to create the remote GitHub repository and push our code to it. The easiest way to do this is with the hub binary, provided by GitHub. Please follow the installation instructions for your platform, as described at https://github.com/github/hub. Once ready, we'll need to run hub create in the root of the IssueReporter folder. We can do it in Julia's REPL:

julia> cd(Pkg.dir("IssueReporter")) 
julia> run(`hub create IssueReporter.jl`)

You'll be prompted for your GitHub username and password—and if all goes well, you'll see the output confirming that the repo was created.

Finishing touches

Next, we need to commit and push our changes—but before doing that, let's make a final change to .gitignore to also add docs/build to the list of ignored files. It is a bad practice to include the built docs into the GitHub commits—for more information about hosting documentation on GitHub, please...