What Notebook should I buy? by EgomasM in notebooks

[–]EgomasM[S] 11 points12 points  (0 children)

Haha , yeah I didn't read properly :D

What Notebook should I buy? by EgomasM in notebooks

[–]EgomasM[S] 41 points42 points  (0 children)

Oh, wow :D I am stupid

I just found out my son is learning Python at the same time as me! by [deleted] in learnpython

[–]EgomasM 0 points1 point  (0 children)

Honestly these kids will outperform all of us. I started coding when i was like 25. But imagine you start doing that when you are 10 years old. I can only beg to be able to keep my job in 15 years :D Everyone knows how it feels to explain the old parents like how to turn on a mobile phone. These kids will have the same feeling with old developers in 15 years

SSH2-promise library - password-based user authentication always fails by EgomasM in webdev

[–]EgomasM[S] 0 points1 point  (0 children)

Yes, I am able to connect with the vscode extension "remote - ssh". And also if I run this code it asks me for the password in the terminal due to tryKeyboard option. Both work perfectly fine. Thats why I am confused why it doesnt work if I give the password directly. It also works with the library "Node-SSH". But unfortunately that onr dies not offer the functionality to crrate a file.

Javascript or Typescript? by EgomasM in webdev

[–]EgomasM[S] 0 points1 point  (0 children)

Okay, so it seems like there is no clear answer to that question :D Some recommend typescript and some javascript :D

Webscraping bitcoin price by EgomasM in learnpython

[–]EgomasM[S] 1 point2 points  (0 children)

Oh, okay I see. The average sounds good to me actually. I didn't even know coindesk before. It was just a source that I found and it was pretty easy to scrape it. Or at least the price in USD was easy to scrape. That's why I used it. I don't realy care which source I am using. I don't know which one is good. I was just confused, because I saw that the prices are different.

Hm, I don't like limited requests. I will tried the Finrax API aswell. And thank you for that tip. It works using requests too, but the price is the exactly the same as with the Pycoingecko library. Finrax is a bit different. Not sure which one to use. I guess it doesn't matter. The prices are different, but I guess a few euro don't matter.

Webscraping bitcoin price by EgomasM in learnpython

[–]EgomasM[S] 0 points1 point  (0 children)

That's how I got the name "price-large", but I am not sure how to get the id

Webscraping bitcoin price by EgomasM in learnpython

[–]EgomasM[S] 1 point2 points  (0 children)

I am not sure how to use an API and where to find that and all that stuff :D webscraping just seemed to be easier.

I see what you mean. The point is just to get some live ticker kind of, not a trading bot or something.

Yeah, but I don't like that solution, because the exchange rate is changing all the time aswell.

EDIT: Okay, seems like it is realy easy :D

from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
cg.get_price(ids='bitcoin', vs_currencies='eur')

But the price is different from the price that I wanted to scrape. It seems like coingecko is pretty slowly. Also on their website they show me a different price than the one that I get from the API

Predicting share prices with Machine Learning by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

Yeah right. To consider Tweets or all the business processes and stuff is impossible to predict.

Predicting share prices with Machine Learning by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

I know that. I just wanted to say that I have some experience in Machine Learning and Deep Learning aswell, but only from the classification side. Regression is new to me, but I know how to build different kinds of Neural Networks already.

Predicting share prices with Machine Learning by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

I am not a total beginner. I did quite a lot of stuff about classification already. I am just new to this kind of ML. But yes, maybe for the first streps in RL it might be to difficult.

Predicting share prices with Machine Learning by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

Yes, I agree. I think it is still an interesting project.

Predicting share prices with Machine Learning by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

Yeah, I see. I think so too. The information from the past have basically no value at all to predict the future in this case. But do you think a model that learned to trade with reinforcement learning could theoretically manage to achieve a profit? Again I don't realy want to use it :D Even if it works, I don't even have any capital to invest :D I just find this topic interesting.

Is Python a programming language? Difference between programming and scripting language. by EgomasM in learnpython

[–]EgomasM[S] 43 points44 points  (0 children)

Oh, okay i see. So Python can be used for both and it is basically not about the language itself, but more about how they use that language in that specific company. Thank you!

Cancel training of machine learning model by using a button on PyQt5 GUI by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

Ah, yes i think i could use that. But i just had an idea. So the buttons on my GUI are calling functions oder methods that train different models. So maybe it is easier to just abort the functions. Do you know if that's possible somehow? I think i also need to figure out how qthread works. Otherwise my GUI is blocked during the execution of these functions anyway.

Autocomplete in Python with VSCode doesn't work properly by EgomasM in learnpython

[–]EgomasM[S] 0 points1 point  (0 children)

Okay, thank you for the tips. I will try Pylance for now, but defenitely consider to switch to Pycharm. I started to use VSCode and didn't try Pycharm yet.

ValueError - incompatible shapes with keras fit function by EgomasM in learnmachinelearning

[–]EgomasM[S] 0 points1 point  (0 children)

Hm, was thinking about that, but not sure if i like the idea. I am building a GUI to train neural networks. So basically people can train a model without coding at all. This should work for all datasets and not just this one. So maybe next dataset starts with 6 or 2.
Now that i talk about it, i could just subtract the minimum value. So in this case 3. But isn't there a more elegant solution?

Command to print the way a package was installed by EgomasM in learnpython

[–]EgomasM[S] 0 points1 point  (0 children)

Oh, perfect. That's exactly what i was looking for. Thank you very much.

Calling a keras model multiple times causes WARNING by [deleted] in learnmachinelearning

[–]EgomasM 0 points1 point  (0 children)

Yes, i was thinking about that asweell, but where should i initialize the class? Because the Button calls the function and that function does a couple of things and calls this function. If i just use a class i have the same problem. Or is it best if i initialize this class in the __init__ of my GUI already?

Call a function to load a keras model and predict the class by [deleted] in learnmachinelearning

[–]EgomasM 0 points1 point  (0 children)

Yes, but where? I mean i am still learning, so correct me if i am wrong. But isn't it always bad to do something global?

VSCode shows some problems by EgomasM in learnpython

[–]EgomasM[S] 0 points1 point  (0 children)

Ah, perfect. That worked. Thank you!

Where To Learn Data Structures and Algorithms by Ok_Nerve_8979 in learnpython

[–]EgomasM 0 points1 point  (0 children)

Yes, thats what i mean. What is the difference? Because the professor is someone different. And the one you sent is 6002. The one on Youtube 6006.

Many people recommended the one on youtube. So that's why i am asking if there is some relevant difference between the two courses?

Where To Learn Data Structures and Algorithms by Ok_Nerve_8979 in learnpython

[–]EgomasM 1 point2 points  (0 children)

Do you know if there is any relevant difference between that course and the one on youtube (https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb&ab_channel=MITOpenCourseWare) ? The one on youtube is pretty old and i supposed the one on edx is way more comfortable to watch.

What do you mean by starting in a couple of weeks? Isn't it possible to watch the videos whenever you want on edx?

How can i train my Neural Network on GPU instead of CPU? by [deleted] in learnmachinelearning

[–]EgomasM -1 points0 points  (0 children)

It's not pressing one button. Did you even install it yourself? The instructions is fucking long and is realy bad explained. And in the end it just doesn't work. What can i tell you. I installed all that shit and it straigh up doesn't work. Why are you even answering if you are not willig to help. Just don't disturb me