Soumettre la recherche
Mettre en ligne
Julia: The language for future
•
0 j'aime
•
345 vues
岳華 杜
Suivre
20200526 at AIA, Taichung
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 86
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
COSCUP: Introduction to Julia
COSCUP: Introduction to Julia
岳華 杜
The Language for future-julia
The Language for future-julia
岳華 杜
Introduction to julia
Introduction to julia
岳華 杜
Metaprogramming in julia
Metaprogramming in julia
岳華 杜
Java Performance Puzzlers
Java Performance Puzzlers
Doug Hawkins
JVM Mechanics: Understanding the JIT's Tricks
JVM Mechanics: Understanding the JIT's Tricks
Doug Hawkins
20170415 當julia遇上資料科學
20170415 當julia遇上資料科學
岳華 杜
TCO in Python via bytecode manipulation.
TCO in Python via bytecode manipulation.
lnikolaeva
Recommandé
COSCUP: Introduction to Julia
COSCUP: Introduction to Julia
岳華 杜
The Language for future-julia
The Language for future-julia
岳華 杜
Introduction to julia
Introduction to julia
岳華 杜
Metaprogramming in julia
Metaprogramming in julia
岳華 杜
Java Performance Puzzlers
Java Performance Puzzlers
Doug Hawkins
JVM Mechanics: Understanding the JIT's Tricks
JVM Mechanics: Understanding the JIT's Tricks
Doug Hawkins
20170415 當julia遇上資料科學
20170415 當julia遇上資料科學
岳華 杜
TCO in Python via bytecode manipulation.
TCO in Python via bytecode manipulation.
lnikolaeva
JVM Mechanics
JVM Mechanics
Doug Hawkins
20171127 當julia遇上資料科學
20171127 當julia遇上資料科學
岳華 杜
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
NAVER / MusicPlatform
Oop lecture9 13
Oop lecture9 13
Shahriar Robbani
Being functional in PHP (PHPDay Italy 2016)
Being functional in PHP (PHPDay Italy 2016)
David de Boer
Низкоуровневые оптимизации .NET-приложений
Низкоуровневые оптимизации .NET-приложений
Andrey Akinshin
Application of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimization
Pranamesh Chakraborty
Futures e abstração - QCon São Paulo 2015
Futures e abstração - QCon São Paulo 2015
Leonardo Borges
Comparative study of algorithms of nonlinear optimization
Comparative study of algorithms of nonlinear optimization
Pranamesh Chakraborty
Welcome to python
Welcome to python
Kyunghoon Kim
Machine Learning Model Bakeoff
Machine Learning Model Bakeoff
mrphilroth
Ember
Ember
mrphilroth
Rainer Grimm, “Functional Programming in C++11”
Rainer Grimm, “Functional Programming in C++11”
Platonov Sergey
Java Basics - Part2
Java Basics - Part2
Vani Kandhasamy
Continuation Passing Style and Macros in Clojure - Jan 2012
Continuation Passing Style and Macros in Clojure - Jan 2012
Leonardo Borges
Java Questions
Java Questions
bindur87
Java puzzles
Java puzzles
Nikola Petrov
Java Basics - Part1
Java Basics - Part1
Vani Kandhasamy
Java Puzzle
Java Puzzle
SFilipp
20190907 Julia the language for future
20190907 Julia the language for future
岳華 杜
Functional Reactive Programming with RxJS
Functional Reactive Programming with RxJS
stefanmayer13
EdSketch: Execution-Driven Sketching for Java
EdSketch: Execution-Driven Sketching for Java
Lisa Hua
Contenu connexe
Tendances
JVM Mechanics
JVM Mechanics
Doug Hawkins
20171127 當julia遇上資料科學
20171127 當julia遇上資料科學
岳華 杜
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
NAVER / MusicPlatform
Oop lecture9 13
Oop lecture9 13
Shahriar Robbani
Being functional in PHP (PHPDay Italy 2016)
Being functional in PHP (PHPDay Italy 2016)
David de Boer
Низкоуровневые оптимизации .NET-приложений
Низкоуровневые оптимизации .NET-приложений
Andrey Akinshin
Application of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimization
Pranamesh Chakraborty
Futures e abstração - QCon São Paulo 2015
Futures e abstração - QCon São Paulo 2015
Leonardo Borges
Comparative study of algorithms of nonlinear optimization
Comparative study of algorithms of nonlinear optimization
Pranamesh Chakraborty
Welcome to python
Welcome to python
Kyunghoon Kim
Machine Learning Model Bakeoff
Machine Learning Model Bakeoff
mrphilroth
Ember
Ember
mrphilroth
Rainer Grimm, “Functional Programming in C++11”
Rainer Grimm, “Functional Programming in C++11”
Platonov Sergey
Java Basics - Part2
Java Basics - Part2
Vani Kandhasamy
Continuation Passing Style and Macros in Clojure - Jan 2012
Continuation Passing Style and Macros in Clojure - Jan 2012
Leonardo Borges
Java Questions
Java Questions
bindur87
Java puzzles
Java puzzles
Nikola Petrov
Java Basics - Part1
Java Basics - Part1
Vani Kandhasamy
Java Puzzle
Java Puzzle
SFilipp
Tendances
(19)
JVM Mechanics
JVM Mechanics
20171127 當julia遇上資料科學
20171127 當julia遇上資料科學
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
서버 개발자가 바라 본 Functional Reactive Programming with RxJava - SpringCamp2015
Oop lecture9 13
Oop lecture9 13
Being functional in PHP (PHPDay Italy 2016)
Being functional in PHP (PHPDay Italy 2016)
Низкоуровневые оптимизации .NET-приложений
Низкоуровневые оптимизации .NET-приложений
Application of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimization
Futures e abstração - QCon São Paulo 2015
Futures e abstração - QCon São Paulo 2015
Comparative study of algorithms of nonlinear optimization
Comparative study of algorithms of nonlinear optimization
Welcome to python
Welcome to python
Machine Learning Model Bakeoff
Machine Learning Model Bakeoff
Ember
Ember
Rainer Grimm, “Functional Programming in C++11”
Rainer Grimm, “Functional Programming in C++11”
Java Basics - Part2
Java Basics - Part2
Continuation Passing Style and Macros in Clojure - Jan 2012
Continuation Passing Style and Macros in Clojure - Jan 2012
Java Questions
Java Questions
Java puzzles
Java puzzles
Java Basics - Part1
Java Basics - Part1
Java Puzzle
Java Puzzle
Similaire à Julia: The language for future
20190907 Julia the language for future
20190907 Julia the language for future
岳華 杜
Functional Reactive Programming with RxJS
Functional Reactive Programming with RxJS
stefanmayer13
EdSketch: Execution-Driven Sketching for Java
EdSketch: Execution-Driven Sketching for Java
Lisa Hua
Introduction to PyTorch
Introduction to PyTorch
Jun Young Park
Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨
flyinweb
Large volume data analysis on the Typesafe Reactive Platform
Large volume data analysis on the Typesafe Reactive Platform
Martin Zapletal
IIBMP2019 講演資料「オープンソースで始める深層学習」
IIBMP2019 講演資料「オープンソースで始める深層学習」
Preferred Networks
Current Score – 0 Due Wednesday, November 19 2014 0400 .docx
Current Score – 0 Due Wednesday, November 19 2014 0400 .docx
faithxdunce63732
Seminar PSU 10.10.2014 mme
Seminar PSU 10.10.2014 mme
Vyacheslav Arbuzov
Introduction to Julia
Introduction to Julia
岳華 杜
Introduction of Feature Hashing
Introduction of Feature Hashing
Wush Wu
maxbox starter60 machine learning
maxbox starter60 machine learning
Max Kleiner
Processing large-scale graphs with Google(TM) Pregel by MICHAEL HACKSTEIN at...
Processing large-scale graphs with Google(TM) Pregel by MICHAEL HACKSTEIN at...
Big Data Spain
Vectorization in ATLAS
Vectorization in ATLAS
Roberto Agostino Vitillo
⭐⭐⭐⭐⭐ Device Free Indoor Localization in the 28 GHz band based on machine lea...
⭐⭐⭐⭐⭐ Device Free Indoor Localization in the 28 GHz band based on machine lea...
Victor Asanza
Advanced pg_stat_statements: Filtering, Regression Testing & more
Advanced pg_stat_statements: Filtering, Regression Testing & more
Lukas Fittl
Kotlin+MicroProfile: Ensinando 20 anos para uma linguagem nova
Kotlin+MicroProfile: Ensinando 20 anos para uma linguagem nova
Víctor Leonel Orozco López
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
François Garillot
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit
Podem_Report
Podem_Report
Anandhavel Nagendra
Similaire à Julia: The language for future
(20)
20190907 Julia the language for future
20190907 Julia the language for future
Functional Reactive Programming with RxJS
Functional Reactive Programming with RxJS
EdSketch: Execution-Driven Sketching for Java
EdSketch: Execution-Driven Sketching for Java
Introduction to PyTorch
Introduction to PyTorch
Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨
Large volume data analysis on the Typesafe Reactive Platform
Large volume data analysis on the Typesafe Reactive Platform
IIBMP2019 講演資料「オープンソースで始める深層学習」
IIBMP2019 講演資料「オープンソースで始める深層学習」
Current Score – 0 Due Wednesday, November 19 2014 0400 .docx
Current Score – 0 Due Wednesday, November 19 2014 0400 .docx
Seminar PSU 10.10.2014 mme
Seminar PSU 10.10.2014 mme
Introduction to Julia
Introduction to Julia
Introduction of Feature Hashing
Introduction of Feature Hashing
maxbox starter60 machine learning
maxbox starter60 machine learning
Processing large-scale graphs with Google(TM) Pregel by MICHAEL HACKSTEIN at...
Processing large-scale graphs with Google(TM) Pregel by MICHAEL HACKSTEIN at...
Vectorization in ATLAS
Vectorization in ATLAS
⭐⭐⭐⭐⭐ Device Free Indoor Localization in the 28 GHz band based on machine lea...
⭐⭐⭐⭐⭐ Device Free Indoor Localization in the 28 GHz band based on machine lea...
Advanced pg_stat_statements: Filtering, Regression Testing & more
Advanced pg_stat_statements: Filtering, Regression Testing & more
Kotlin+MicroProfile: Ensinando 20 anos para uma linguagem nova
Kotlin+MicroProfile: Ensinando 20 anos para uma linguagem nova
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Podem_Report
Podem_Report
Plus de 岳華 杜
[COSCUP 2023] 我的Julia軟體架構演進之旅
[COSCUP 2023] 我的Julia軟體架構演進之旅
岳華 杜
自然語言處理概覽
自然語言處理概覽
岳華 杜
Introduction to machine learning
Introduction to machine learning
岳華 杜
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
岳華 杜
Batch normalization 與他愉快的小伙伴
Batch normalization 與他愉快的小伙伴
岳華 杜
從 VAE 走向深度學習新理論
從 VAE 走向深度學習新理論
岳華 杜
COSCUP: Foreign Function Call in Julia
COSCUP: Foreign Function Call in Julia
岳華 杜
COSCUP: Metaprogramming in Julia
COSCUP: Metaprogramming in Julia
岳華 杜
20180506 Introduction to machine learning
20180506 Introduction to machine learning
岳華 杜
20171117 oop and design patterns in julia
20171117 oop and design patterns in julia
岳華 杜
20171014 tips for manipulating filesystem in julia
20171014 tips for manipulating filesystem in julia
岳華 杜
20170807 julia的簡單而高效資料處理
20170807 julia的簡單而高效資料處理
岳華 杜
20170715 北Bio meetup
20170715 北Bio meetup
岳華 杜
20170714 concurrency in julia
20170714 concurrency in julia
岳華 杜
201705 metaprogramming in julia
201705 metaprogramming in julia
岳華 杜
20170317 functional programming in julia
20170317 functional programming in julia
岳華 杜
20170217 julia小程式到專案發布之旅
20170217 julia小程式到專案發布之旅
岳華 杜
20170113 julia’s type system and multiple dispatch
20170113 julia’s type system and multiple dispatch
岳華 杜
手把手Julia及簡易IDE安裝
手把手Julia及簡易IDE安裝
岳華 杜
20161209-Julia Taiwan first meetup-julia語言入門
20161209-Julia Taiwan first meetup-julia語言入門
岳華 杜
Plus de 岳華 杜
(20)
[COSCUP 2023] 我的Julia軟體架構演進之旅
[COSCUP 2023] 我的Julia軟體架構演進之旅
自然語言處理概覽
自然語言處理概覽
Introduction to machine learning
Introduction to machine learning
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Batch normalization 與他愉快的小伙伴
Batch normalization 與他愉快的小伙伴
從 VAE 走向深度學習新理論
從 VAE 走向深度學習新理論
COSCUP: Foreign Function Call in Julia
COSCUP: Foreign Function Call in Julia
COSCUP: Metaprogramming in Julia
COSCUP: Metaprogramming in Julia
20180506 Introduction to machine learning
20180506 Introduction to machine learning
20171117 oop and design patterns in julia
20171117 oop and design patterns in julia
20171014 tips for manipulating filesystem in julia
20171014 tips for manipulating filesystem in julia
20170807 julia的簡單而高效資料處理
20170807 julia的簡單而高效資料處理
20170715 北Bio meetup
20170715 北Bio meetup
20170714 concurrency in julia
20170714 concurrency in julia
201705 metaprogramming in julia
201705 metaprogramming in julia
20170317 functional programming in julia
20170317 functional programming in julia
20170217 julia小程式到專案發布之旅
20170217 julia小程式到專案發布之旅
20170113 julia’s type system and multiple dispatch
20170113 julia’s type system and multiple dispatch
手把手Julia及簡易IDE安裝
手把手Julia及簡易IDE安裝
20161209-Julia Taiwan first meetup-julia語言入門
20161209-Julia Taiwan first meetup-julia語言入門
Dernier
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Dernier
(20)
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Julia: The language for future
1.
1
2.
2
3.
3
4.
python ★ 31.3k golang ★ 72.9k nodejs ★
70.4k rust ★ 45.1k
5.
5
6.
6 Rapid development Production Readable
& modifiable Performance
7.
7
8.
a = [1,
2, 3, 4, 5] function square(x) return x^2 end for x in a println(square(x)) end 8
9.
https://julialang.org/benchmarks/ 9
10.
10
11.
https://juliacomputing.com/case-studies/laketide.html
12.
https://juliacomputing.com/case-studies/mit-robotics.html
13.
https://juliacomputing.com/case-studies/ny-fed.html 13 https://github.com/FRBNY-DSGE/DSGE.jl
14.
https://juliacomputing.com/case-studies/rna.html
15.
https://juliacomputing.com/case-studies/circuitscape.html http://maps.tnc.org/migrations-in-motion/
16.
https://juliacomputing.com/case-studies/intel-astro.html 20
17.
https://www.nature.com/articles/d41586-019-02310-3
18.
https://github.com/JuliaRegistries/General/blob/master/Registry.toml 22
19.
23
20.
24 https://docs.juliatw.org/latest/
21.
25
22.
26
23.
27
24.
28
25.
29
26.
30 VimEmacsVscodeSublime IntelliJ
27.
31
28.
32 μ = 0 σ
= 1 normal = Normal(μ, σ)
29.
33
30.
34
31.
for i =
1:100_000 do_something() end Threads.@threads for i = 1:100_000 do_something() end 35
32.
Julia mode: julia> using
Pkg julia> Pkg.update() julia> Pkg.add(“Foo”) julia> Pkg.rm(“Foo”) 36 Pkg mode: v(1.4) pkg> update V(1.4) pkg> add Foo v(1.4) pkg> rm Foo
33.
julia> @code_native add(1,
2) .text Filename: REPL[2] pushq %rbp movq %rsp, %rbp Source line: 2 leaq (%rcx,%rdx), %rax popq %rbp retq nopw (%rax,%rax) function add(a, b) return a+b end 37
34.
julia> @code_llvm add(1,
2.0) ; Function Attrs: uwtable define double @julia_add_71636(i64, double) #0 { top: %2 = sitofp i64 %0 to double %3 = fadd double %2, %1 ret double %3 } function add(a, b) return a+b end 38
35.
48
36.
49 https://juliastats.org/
37.
50
38.
51
39.
52
40.
53
41.
54 Bootstrap CategoricalArrays Clustering CSV DataFrames Distances Distributions GLM HypothesisTests KernelDensity Loess MultivariateStats StatsBase TimeSeries
42.
julia> using DataFrames julia>
df = DataFrame(A = 1:4, B = ["M", "F", "F", "M"]) 4× 2 DataFrame │ Row │ A │ B │ ├─────┼───┼───┤ │ 1 │ 1 │ M │ │ 2 │ 2 │ F │ │ 3 │ 3 │ F │ │ 4 │ 4 │ M │ 55
43.
julia> df[:A] 4-element Array{Int64,1}: 1 2 3 4 julia>
df[2, :A] 2 56
44.
julia> using CSV julia>
df = CSV.read("data.csv") julia> df = DataFrame(A = 1:10); julia> CSV.write("output.csv", df) 57
45.
julia> names =
DataFrame(ID = [1, 2], Name = ["John Doe", "Jane Doe"]) julia> jobs = DataFrame(ID = [1, 2], Job = ["Lawyer", "Doctor"]) julia> full = join(names, jobs, on = :ID) 2× 3 DataFrame │ Row │ ID │ Name │ Job │ ├─────┼────┼──────────┼────────┤ │ 1 │ 1 │ John Doe │ Lawyer │ │ 2 │ 2 │ Jane Doe │ Doctor │ 58
46.
julia> q1 =
@from i in df begin @where i.age > 40 @select {number_of_children=i.children, i.name} @collect DataFrame end 59
47.
63 julia> data =
DataFrame(X=[1,2,3], Y=[2,4,7]) 3x2 DataFrame |-------|---|---| | Row # | X | Y | | 1 | 1 | 2 | | 2 | 2 | 4 | | 3 | 3 | 7 |
48.
64 julia> OLS =
glm(@formula(Y ~ X), data, Normal(), IdentityLink()) DataFrameRegressionModel{GeneralizedLinearModel,Float64}: Coefficients: Estimate Std.Error z value Pr(>|z|) (Intercept) -0.666667 0.62361 -1.06904 0.2850 X 2.5 0.288675 8.66025 <1e-17
49.
65 julia> newX =
DataFrame(X=[2,3,4]); julia> predict(OLS, newX, :confint) 3× 3 Array{Float64,2}: 4.33333 1.33845 7.32821 6.83333 2.09801 11.5687 9.33333 1.40962 17.257 # The columns of the matrix are prediction, 95% lower and upper confidence bounds
50.
66
51.
67 # initialize the
attractor n = 1500 dt = 0.02 σ, ρ, β = 10., 28., 8/3 x, y, z = 1., 1., 1. # initialize a 3D plot with 1 empty series plt = plot3d(1, xlim=(-25,25), ylim=(-25,25), zlim=(0,50), xlab = "x", ylab = "y", zlab = "z", title = "Lorenz Attractor", marker = 1) # build an animated gif, saving every 10th frame @gif for i=1:n dx = σ*(y - x) ; x += dt * dx dy = x*(ρ - z) - y ; y += dt * dy dz = x*y - β*z ; z += dt * dz push!(plt, x, y, z) end every 10
52.
JuliaStats 68
53.
69
54.
70 https://julialang.org/blog/2017/12/ml&pl-zh_tw
55.
71Ref: https://venturebeat.com/2019/02/18/facebooks-chief-ai-scientist-deep-learning-may-need-a-new-programming-language/ Pic: https://xconomy.com/boston/2017/11/01/as-facebook-fights-fake-news-lecun-sees-bigger-role-for-a-i/
56.
2019.2.20 10 a.m.
57.
73 https://github.com/FluxML/Zygote.jl
58.
74 julia> using Zygote julia>
f(x) = 3x + 2 f (generic function with 1 method) julia> f(3.) 11.0 julia> f'(3.) 3.0
59.
75 julia> @code_llvm f'(3.) ;
Function Attrs: uwtable define double @"julia_#34_17010"(double) #0 { top: ret double 3.000000e+00 }
60.
76
61.
77
62.
78 Pic: https://blog.algorithmia.com/introduction-to-loss-functions/ Loss function Pic:
http://dsdeepdive.blogspot.com/2016/03/optimizations-of-gradient-descent.html Gradient
63.
79 for-loop, while-loop
64.
81 @model gdemo(x,
y) = begin # Assumptions σ ~ InverseGamma(2,3) μ ~ Normal(0,sqrt(σ)) # Observations x ~ Normal(μ, sqrt(σ)) y ~ Normal(μ, sqrt(σ)) end https://turing.ml/dev/
65.
82 https://turing.ml/dev/
66.
83 https://github.com/alan-turing-institute/MLJ.jl Integrate 109 models
67.
84 https://github.com/alan-turing-institute/MLJ.jl
68.
85 https://github.com/alan-turing-institute/MLJ.jl
69.
Next: Machine
Learning and Deep Learning on Quantum Computing 86 https://github.com/QuantumBFS/Yao.jl
70.
87 https://github.com/JuliaGPU/CuArrays.jl
71.
88
72.
89
73.
90 http://www.stochasticlifestyle.com/co mparison-differential-equation-solver- suites-matlab-r-julia-python-c-fortran/
74.
91 Objective types • Linear •
Convex Quadratic • Nonlinear (convex and nonconvex) Constraint types • Linear • Convex Quadratic • Second-order Conic • Semidefinite • Nonlinear (convex and nonconvex) Variable types • Continuous • Integer-valued • Semicontinuous • Semi-integer
75.
92
76.
93
77.
94
78.
95 https://mobile.twitter.com/KenoFischer/status/1158517084642582529
79.
96 https://juliacon.org/2020/
80.
81.
82.
https://julialang.org/teaching/
83.
84.
101
Télécharger maintenant