├── all-resources.zip ├── julia-lang-course-text.png ├── README.md ├── LICENSE └── assignments.txt /all-resources.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Julia-Programming-Language---From-Zero-to-Expert-/HEAD/all-resources.zip -------------------------------------------------------------------------------- /julia-lang-course-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Julia-Programming-Language---From-Zero-to-Expert-/HEAD/julia-lang-course-text.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Julia-Programming-Language---From-Zero-to-Expert- 5 | Julia Programming Language - From Zero to Expert, by Packt publishing 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /assignments.txt: -------------------------------------------------------------------------------- 1 | Julia Assignments 2 | 3 | 4 | Section 1 5 | ======= 6 | 7 | To get started, complete a simple assignment. 8 | 9 | Install Julia as mentioned in the course videos. Then, install the "Plots" package for Julia. For this assignment, you just need to install it. We will use it in a later video. 10 | 11 | 12 | Section 2 13 | ========= 14 | 15 | There is one particular type in Julia that we haven't studied. This is because we won't need it in this particular course. However, if you want to work extensively in Julia, you should take a look at it at least. These are "structs". Take a look at them here: 16 | 17 | https://docs.julialang.org/en/v1/manual/types/#Composite-Types 18 | 19 | Run the basic examples and create a couple of structs and mutable structs to get a feel of these. 20 | 21 | (BTW, you might have noticed a lack of classes. Julia does not have classes. The closest thing to a class is the mutable struct. There is good reason for this but we won't go into that theory here.) 22 | 23 | Section 3 24 | ========= 25 | 26 | Task 1 27 | 28 | Take a look at the LinearAlgebra package here: https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/ 29 | 30 | There is a lot of stuff that you can do with this package that will make a wide range of problems much easier to solve. 31 | 32 | A really good example of applied Linear Algebra can be seen here: https://julia.quantecon.org/tools_and_techniques/linear_algebra.html 33 | 34 | 35 | Section 4 36 | ======= 37 | 38 | Task 1 39 | 40 | Create a function for fibonnaci. Look up the function if you are not aware of how it works. 41 | 42 | Task 2 43 | 44 | Create a square root function using newton's method. Newton's method can be seen implemented in Python here: https://medium.com/@sddkal/newton-square-root-method-in-python-270853e9185d 45 | 46 | Task 2 47 | 48 | Create a function that takes a matrix and sums over its rows or columns depending on the argument given. 49 | 50 | Task 3 51 | 52 | Estimate Pi using Julia through Monte Carlo simulation. See a detailed exaplanation of how to do that (along with Python code) here: https://www.cantorsparadise.com/calculating-the-value-of-pi-using-random-numbers-a-monte-carlo-simulation-d4b80dc12bdf 53 | 54 | 55 | Task 4 56 | 57 | (Optional) If you have worked with Python/R, call a piece of your own Python/R code from Julia 58 | 59 | 60 | 61 | 62 | Section 5 63 | ========= 64 | 65 | Task 1: 66 | 67 | Study different plot types. Basic tutorial can be seen here on the official documentation here: https://docs.juliaplots.org/latest/tutorial/ Your task is to reproduce all the plots and then experiment with different plots for some of your own data. 68 | 69 | 70 | Task 2: 71 | 72 | Take a look at the GraphRecipes library for plotting graphs. These come in handy when doind advanced machine learning and you should be able to work with them. 73 | 74 | See examples here: https://docs.juliaplots.org/latest/graphrecipes/examples/ 75 | 76 | 77 | Task 3: 78 | 79 | Take a look at the Clustering package for Julia. Some examples for visualizing data can be seen here: https://juliastats.org/Clustering.jl/stable/kmeans.html#Examples-1 80 | 81 | One of the most troublesome aspects of clustering is how to evaluate if your clusters are of high quality. Julia provides detailed library support for this. Take a look at the example here: https://juliastats.org/Clustering.jl/stable/validate.html 82 | 83 | Your task is to apply any of the analysis provided in this section to the above example of clustering. This will give you a good idea about how to integrate the two aspects of clustering -- modeling and evaluation. 84 | 85 | 86 | 87 | Section 7 88 | ========= 89 | 90 | Task 1 91 | 92 | There is a very brief but useful example of Transfer Learning in the Flux model zoo. Take a look at it here: https://github.com/FluxML/model-zoo/blob/master/tutorials/transfer_learning/transfer_learning.jl 93 | 94 | Reproduce the code on your machine (in a notebook) and see the results. This will give you a good idea about how to use Model Zoo code examples. 95 | 96 | Task 2 97 | 98 | Pick a problem of your choice and find example in the model zoo that can help you solve it. All examples can be seen on the following links: 99 | 100 | https://github.com/FluxML/model-zoo/tree/master/text 101 | 102 | https://github.com/FluxML/model-zoo/tree/master/vision 103 | 104 | https://github.com/FluxML/model-zoo/tree/master/other 105 | 106 | --------------------------------------------------------------------------------