You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: collections/blog/Research/_posts/2024-06-08-machine-learning-1.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,20 @@ layout: post
3
3
title: "Machine learning frameworks | A newbie perspective"
4
4
---
5
5
6
-
The first time I dabbled with machine learning was during college for a undergraduate reasearch assignment. The task was to update some code written in [Python](https://www.python.org/) and [Julia](https://julialang.org/)for aircraft traffic control algorithms. Due to the complexity involved in preventing multiple aircraft from crashing into each other, machine learning was used to obtain a solution.
6
+
The first time I dabbled with machine learning was during college for a undergraduate reasearch assignment. The task was to update some code written in [Python](https://www.python.org/) and [Julia](https://julialang.org/). The code involved algorithms used for aircraft traffic control, and due to the complexity of preventing multiple aircraft from crashing into each other, machine learning was used to obtain a solution that would otherwise be much harder to find manually.
As a introduction to ML, this project introduced me to some of the frameworks of that are used to solve such problems. The python scripts used [Tensorflow 1.x](https://www.tensorflow.org/) and the Julia scripts used a mixture of [DeepRL](https://github.com/mkschleg/DeepRL.jl), [DeepQLearning](https://github.com/JuliaPOMDP/DeepQLearning.jl), [JuliaML](https://github.com/JuliaML), [Flux](https://fluxml.ai/Flux.jl/stable/), and probably some other stuff I've forgotten. At the time I didn't understand any of these libraries, and even less how they worked, so needless to say I completely failed to fix the code. I also felt ML was a bit of a fad and wasn't interested in getting caught up in a short-lived wave of popularity.
10
+
This project introduced me to some of the frameworks of that are used for ML. The python scripts used [Tensorflow 1.x](https://www.tensorflow.org/) and the Julia scripts used a mixture of [DeepRL](https://github.com/mkschleg/DeepRL.jl), [DeepQLearning](https://github.com/JuliaPOMDP/DeepQLearning.jl), [JuliaML](https://github.com/JuliaML), [Flux](https://fluxml.ai/Flux.jl/stable/), and probably some other stuff I've forgotten. At the time I didn't understand any of these libraries, and even less how they worked, so needless to say I completely failed to fix the code. I also felt ML was a bit of a fad and wasn't interested in getting caught up in a short-lived wave of popularity.
11
11
12
-
Still, it made sense to learn more about this topic as the last time I encountered it I was left completely dumbfounded. After stumbling upon __FreeCodeCamps's__[Machine Learning with Python](https://www.freecodecamp.org/learn/machine-learning-with-python/) and completing the course (which involved multiple choice questions, there are no code exercise unfortunately), I vaguely understood that there were a different python frameworks for machine learning. Some of these include:
12
+
With time, it made sense it wasn't just a fad and that learning more about ML would be positive, as the last time I encountered it I was completely dumbfounded. After stumbling upon __FreeCodeCamps's__[Machine Learning with Python](https://www.freecodecamp.org/learn/machine-learning-with-python/) and completing the course (which involved multiple choice questions, there are no code exercise unfortunately), I vaguely understood that there were a few popular python frameworks for ML. Some of these include:
13
13
14
14
-[Tensorflow](https://www.tensorflow.org/): _An end-to-end open source machine learning platform for everyone._
15
15
-[Keras](https://keras.io/): _Keras is an API designed for human beings, not machines._
16
16
-[Pytorch](https://pytorch.org/): _PyTorch is a fully featured framework for building deep learning models._
17
17
<br>
18
18
19
-
The course focused main on Keras (despite claiming its focused on tensorflow), which is a layer that goes atop another package that actually handles the ML algorithms. The default back-end is Tensorflow but you can also use __Pytorch__. However recall that the experience I had with Tensorflow wasn't the best one. While I didn't understand the library, the code felt confusing and read like a convoluted mess. Objects upon object upon nested objects. By comparison, Pytorch's code seems a lot less dependant on special objects and uses more of Python's basic building blocks. Pytorch feel more... [Pythonic](https://builtin.com/data-science/pythonic)?.
19
+
The course focused on Keras (despite claiming its focused on tensorflow), which is a layer that goes atop another package that actually handles the ML algorithms. The default back-end is Tensorflow but you can also use __Pytorch__. Unfortunately, I recall my experience with Tensorflow and it wasn't the best one. While I didn't understand the library, the code felt confusing and read like a convoluted mess. Objects upon object upon nested objects. By comparison, Pytorch's code seems a lot less dependant on special objects and uses more of Python's basic building blocks. Pytorch feel more... [Pythonic](https://builtin.com/data-science/pythonic)?.
0 commit comments