DobyDabaDu
MModular
•Created by DobyDabaDu on 9/14/2024 in #questions
Copy numpy data to UnsafePointer
How can I copy the data of a numpy array to an UnsafePointer in the new mojo version?
2 replies
MModular
•Created by DobyDabaDu on 9/11/2024 in #community-showcase
Terminal Snake Game: from scratch (no 3rd party libraries)
I made a terminal snake game from scratch (without third party libraries) in mojo and a bit of C.
C is used to detect user's keystrokes. The rest is in mojo.
https://github.com/yetalit/Terminal-SnakeGame
6 replies
MModular
•Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
I want to introduce you Mojmelo. Implementation of machine learning algorithms from scratch in pure Mojo. Here is the list of the algorithms:
Linear Regression
Polynomial Regression
Logistic Regression
KNN
KMeans
SVM: Primal, Dual
Perceptron (single layer: Binary Classification)
Naive Bayes: GaussianNB, MultinomialNB
Decision Tree (both Regression/Classification)
Random Forest (both Regression/Classification)
GBDT (both Regression/Classification)
PCA
LDA
Adaboost
https://github.com/yetalit/mojmelo
14 replies
MModular
•Created by DobyDabaDu on 8/17/2024 in #questions
Mojo Build size
Why mojo builds have such a size? Even simple Hello World programs have around 4 mb sizes. I first thought it might me my issue but the guy on this video also faced with it: https://www.youtube.com/watch?v=Bt3BVjW8FoY
Compared to C builds, it's a lot. Isn't this an issue for a system programming language?
14 replies