DobyDabaDu
DobyDabaDu
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
If you're using something like XGBoost, then they are optimized very well
14 replies
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
Well, I'm not fully aware of the process, if GBDT parts are bottleneck and you are using a cpu based library (like sklearn), after the mojo gpu support, they can run faster. But, my current GBDT is not optimized and may not fully support your desired parameters. It's WIP
14 replies
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
Btw, I'm currently improving the matrix data type and I hope we will get some good results in terms of the speed
14 replies
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
Hi, Thank you! If you mean pure python🙂 Mojmelo will be much faster. Numpy is the key of the performance in python and it depends on the algorithm. If it performs large matrix operations, then numpy can make a noticeable difference. If we use a data structure as fast as numpy, or the algorithm performs smaller matrix operations, I think Mojmelo will have an equal or better performance. (For example, mojo is better than python at parallel computing)
14 replies
MModular
Created by franchesoni on 10/17/2024 in #questions
print breaks code
Put this after memcpy:
_ = pylogits.__array_interface__['data'][0].__index__()
_ = pylogits.__array_interface__['data'][0].__index__()
12 replies
MModular
Created by Ethan on 7/25/2024 in #community-showcase
Matmul.mojo
@Ethan I tried to implement my own but things didnt work well in mojo (unlike C). Amazing how you did it even without using built-in prefetch and tile functions. Anyway, I renewed your code according to Mojo 24.5 as I'm gonna use it in a project and opened a PR to your repo. After GPU support, it would be amazing to see a gpu version as well:mojonightly: Thanks
29 replies
MModular
Created by DobyDabaDu on 9/11/2024 in #community-showcase
Terminal Snake Game: from scratch (no 3rd party libraries)
I'll send you a message regarding this!
6 replies
MModular
Created by Akshay on 9/25/2024 in #questions
Linux Mint.
As I know, Mint is based on Debian and Ubuntu.
4 replies
MModular
Created by Akshay on 9/25/2024 in #questions
Linux Mint.
Doesn't this command run on Mint terminal? curl -ssL https://magic.modular.com/ad4680b9-af01-426f-9064-c7a252b8c5e3 | bash
4 replies
MModular
Created by Hasan Yousef on 9/21/2024 in #questions
Compile to Shared Library
6 replies
MModular
Created by Hasan Yousef on 9/19/2024 in #questions
Define Tuple with PuthonObject
This is a working approach
8 replies
MModular
Created by Hasan Yousef on 9/19/2024 in #questions
Define Tuple with PuthonObject
cr = cap.read()
ret = cr[0]
frame = cr[1]
cr = cap.read()
ret = cr[0]
frame = cr[1]
8 replies
MModular
Created by Hasan Yousef on 9/19/2024 in #questions
Define Tuple with PuthonObject
Dont use var in def function (to solve the issue)
8 replies
MModular
Created by Martin Dudek on 9/16/2024 in #questions
to_numpy with Mojo 24.5
Glad it worked❤️
9 replies
MModular
Created by Martin Dudek on 9/16/2024 in #questions
to_numpy with Mojo 24.5
875 th line
9 replies
MModular
Created by Martin Dudek on 9/16/2024 in #questions
to_numpy with Mojo 24.5
9 replies
MModular
Created by banananas on 9/15/2024 in #questions
Setting up SDL2 with Mojo on WSL
He is also the owner of the above repo. You can contact him for more help
5 replies
MModular
Created by banananas on 9/15/2024 in #questions
Setting up SDL2 with Mojo on WSL
5 replies
MModular
Created by banananas on 9/15/2024 in #questions
Setting up SDL2 with Mojo on WSL
As far as I know, this repo is the most up to date SDL bindings. You can check it: https://github.com/helehex/sdl-bindings/tree/helehex
5 replies
MModular
Created by Hasan Yousef on 9/14/2024 in #questions
C/C++ Interop
You can call .so functions using DLHandle. There is a simple example here: https://github.com/yetalit/Terminal-SnakeGame/tree/main/src/lib
5 replies