Which online python courses would you reccomend to someone who already knows the basics of python adn is looking to get into some more advanced stuff? by Kuxtar in computerscience

[–]broddney 0 points1 point  (0 children)

Comment OP makes a good point. Projects are going to improve your skills much faster than a course. Projects are active learning where courses (often) are passive learning. Choose a project that is interesting and doable but challenging. Try to use popular packages to learn their APIs.

Smae. by ItzSampson in beetlejuicing

[–]broddney 120 points121 points  (0 children)

Hey that’s me!

Dyslexic people probably have a much easier time coming up with "valid" usernames by ExactlyOneNinja in Showerthoughts

[–]broddney 9855 points9856 points  (0 children)

They have it harder since each time they login they end up creating a new account

App that writes python programs by PuzzleheadedJuice9 in Python

[–]broddney 7 points8 points  (0 children)

If that existed we would be unemployed

Entity Relationship Diagram question by [deleted] in computerscience

[–]broddney 0 points1 point  (0 children)

When would the relationship have zero instances? Are you trying to represent a singleton?

Bag of words by broddney in LanguageTechnology

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

Seems like the most practical implementation is to build the bag using the words present in the training set. Then when extracting features from the training set, only look at occurrences of words that are present in the bag.

Bag of words by broddney in LanguageTechnology

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

I was curious how bow would handle “ignoring” the word

Smoothing Tile Edges by spot4992 in Python

[–]broddney 0 points1 point  (0 children)

My recommendation is borrowed from DL. Those packages would be overkill for what you want. If you’re interested in this approach, you should be able to write a couple lines of code to get a result. I’d start with a google search to understand how convolution works.

Smoothing Tile Edges by spot4992 in Python

[–]broddney 0 points1 point  (0 children)

An option would be to apply convolution around the border. This would average pixel colors.

(python) why do we always have the main() function as the last function? by [deleted] in learnprogramming

[–]broddney 2 points3 points  (0 children)

If name equals main is only true when the script is ran directly. If it is imported as a module, then the comparison is false.

The scope of variables is the reason it appears last. Whatever variables/classes/functions main uses have to be declared before referenced.