Skip to content

Commit ea98689

Browse files
committed
fix spelling errors
1 parent 75b28cf commit ea98689

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

collections/blog/Research/_posts/2024-06-08-machine-learning-1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ The first time I dabbled with machine learning was during college for a undergra
77

88
![image](https://www.mdpi.com/symmetry/symmetry-12-00985/article_deploy/html/images/symmetry-12-00985-g001-550.jpg)
99

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.
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 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.
1111

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:
12+
With time it made sense it wasn't just a fad and that learning about ML would be positive (especially 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:
1313

1414
- [Tensorflow](https://www.tensorflow.org/): _An end-to-end open source machine learning platform for everyone._
1515
- [Keras](https://keras.io/): _Keras is an API designed for human beings, not machines._
1616
- [Pytorch](https://pytorch.org/): _PyTorch is a fully featured framework for building deep learning models._
1717
<br>
1818

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)?.
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)?.
2020

2121
![image](/img/machine-learning/framworks.jpg)
2222

23-
For a beginner this familiarity feels a lot simpler and easier to understand. A more tecnical comparison between the two libraries can be found here: [Pytorch vs Tensorflow](https://realpython.com/pytorch-vs-tensorflow/). Instead of using Python it's also possible to use Julia, but its ecosystems seem smaller and less newbie friendly than their python equivalents. The [pre-compiled](https://julialang.github.io/PrecompileTools.jl/stable/) nature of Julia can benefit re-running code, but that's an optimization thats irrelevant for a student learning through small projects. As a beginner, it makes more sense to stick to what's popular due to the plethora of answered questions that can be found online.
23+
For a beginner this familiarity feels a lot simpler and easier to understand. A more tecnical comparison between the two libraries can be found here: [Pytorch vs Tensorflow](https://realpython.com/pytorch-vs-tensorflow/). Instead of using Python it's also possible to use Julia but its ecosystems seem smaller and less newbie friendly than their python equivalents. The [pre-compiled](https://julialang.github.io/PrecompileTools.jl/stable/) nature of Julia can benefit re-running code, but that's an optimization thats irrelevant for a student learning through small projects. As a beginner, it makes more sense to stick to what's popular due to the plethora of answered questions that can be found online.

0 commit comments

Comments
 (0)