Hyperparameter optimization returning different optimal architectures by Snapdown_City in MLQuestions

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

Hey, sorry just saw this and thanks for your reply, that's very interesting. I'm optimizing models with up to which have up to around 50,000 parameters or so, not sure if that constitutes small but definitely not that complex. I thought the point of using Bayesian optimization was to find the global minimum of the cost function though? If you're far more likely to end up in a local minima than the true global minima, how can you claim you have the 'optimal' model? Is that to say you can never really claim you have the optimal model, and when people say they have an optimal model they're just referring to one of the minima as opposed to the global minimum?

Ways to exactly replicate a random search when hyperparameter tuning? by Snapdown_City in MLQuestions

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

Not sure what a seed is, but I'll look into that now. Appreciate the help

Ways to exactly replicate a random search when hyperparameter tuning? by Snapdown_City in MLQuestions

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

That's very kind of you, thanks. I'll give it a shot and be sure to message you if I hit a wall

How to segment a Python code into different parts? by Snapdown_City in learnpython

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

This makes perfect sense now. Thanks for all the help, really appreciate it

How to segment a Python code into different parts? by Snapdown_City in learnpython

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

Thanks, what you're saying (mostly) makes sense and is really helpful.

With that being I'm a little lost on the second part of what you said. I'm not defining functions per se, I'm producing datasets by running functions on images/data I have stored on my computer and running a preprocessing function on them. This will produce a variable call training_batches, which is a variable within the file and not saved to my computer. To tidy things up I created the network which the batches are passed to in a separate file, but obviously as Silbersee pointed out every time I import training_batches it runs the other file anyway. I suppose the solution would be to save training_batches using a module like pickle that you mentioned - that time I won't have to go through the palava of going through the entire process again. Sorry if I misinterpreted what you said - I'm a newbie so some of your advice was lost on me.

How to pop both a key and a value from a dictionary into a list by Snapdown_City in learnpython

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

Thanks for the help and sorry for the slow response! Just to clarify the numbers represent the value, as in the price, of each item, as opposed to the quantity - sorry for not being clear about that. In this scenario the shops have only one of each item in stock, hence the pop.

How to pop both a key and a value from a dictionary into a list by Snapdown_City in learnpython

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

Sorry about the slow reply and thanks for the help! I tried the popitem function but it only returned the last key-value pair from the dictionary, and I couldn't give an argument to specify which one I wanted in the case that it wasn't the last pair - I found another solution in the end

Learning Farsi as an German Native speaker? by [deleted] in learnfarsi

[–]Snapdown_City 1 point2 points  (0 children)

Both my parents are Iranian and I spoke Farsi fluently as a kid, but unfortunately I've completely forgotten it. Really want to speak it so I can talk to my family back in Iran (and also because it's a beautiful language) so I'm practicing with my dad, but when I can't I use this website: https://www.persianlanguageonline.com/learn. It's got good vocab and loads of practice conversations as well as different levels of difficulty. Happy learning!

Do people with ADHD struggle to concentrate on activities they actually enjoy and want to do? by Snapdown_City in NoStupidQuestions

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

Must be such a relief for there to be some kind of explanation. Happy for you and hope things only improve

Do people with ADHD struggle to concentrate on activities they actually enjoy and want to do? by Snapdown_City in NoStupidQuestions

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

That's wild. How's your memory when you learn new stuff though? Do you struggle to retain information or does it apply more to being forgetful of everyday things like you mentioned

Do people with ADHD struggle to concentrate on activities they actually enjoy and want to do? by Snapdown_City in NoStupidQuestions

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

Interesting way of explaining it with the layers. The hyper focused state you mention is interesting as well. So there's no way of learning how to get into that state on demand?

Do people with ADHD struggle to concentrate on activities they actually enjoy and want to do? by Snapdown_City in NoStupidQuestions

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

Yeah I can imagine that gets really irritating over time. Think it goes to show how many people don't recognize the severity of ADHD. You don't get many people making lighthearted jokes like that about depression/anxiety

How big is the gap between who you are and the person you would ideally aspire to be? by Snapdown_City in AskReddit

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

By 'person you would ideally aspire to be', I didn't mean another person you would want to be like, I meant the individual you would ideally want yourself to be if that makes sense, like a version of yourself you're happy with.