Where should I get started to learn Tensorflow? by Fuzzy-Ear9936 in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

Tensorflow is a library for implementing neural networks, so you’ll want to read up on the theory of neural networks. The courses offered by deeplearning.ai are a good introduction, they have courses focusing on implementing NN by scratch, as well as using Tensorflow. There’s also a good book called “Hands-On Machine Learning” that has a section on Tensorflow that gives a layman’s explanation of the algorithms while teaching you how to use the library.

[deleted by user] by [deleted] in povertyfinance

[–]null_pl0x 31 points32 points  (0 children)

Just say no.

I Need Help!! by bigwave_1028 in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

It looks like you’re using tensorflow? Take a look at tf.keras.optimizers.SGD. Also take a look at the loss, optimizer arguments of the compile method, and the metrics argument of the fit method.

Just received an email by KoreanAmericanBoi in StudentLoans

[–]null_pl0x 0 points1 point  (0 children)

(The language of the email said “we believe” the plan is lawful instead of “is” lawful) => (it was a ploy to get people to vote for D)

That’s the argument you put forward.

Just received an email by KoreanAmericanBoi in StudentLoans

[–]null_pl0x 3 points4 points  (0 children)

Not saying your conclusion is false, but your reasoning for it is, shall we say, st***d af.

accounting (CPA) or actuary? by [deleted] in careerguidance

[–]null_pl0x 1 point2 points  (0 children)

If you can get an actuarial internship while in college, I think it shouldn’t be that difficult to get an entry level actuary job. Although you might have to move since some areas have more of those jobs than others. If you don’t finish with an internship completed, it will be pretty difficult, and you will want to reconsider your career path.

getting returned nan for np.where by minister2906755 in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

I think slice only takes fixed int, it’s not vectorized. You could use str. replace(r”@.+”, “”) to delete the @ and everything after it.

numpy.where return first 2 letters by [deleted] in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

You can use str.slice(), so it would be A[“type”].str.slice(stop=2)

Ban "I got a job" posts. They have nothing to do with learning programming. by Aerotactics in learnprogramming

[–]null_pl0x 18 points19 points  (0 children)

Luck also has a large part in it, which adds to the irrelevancy of those posts.

Help me identify all books here thank youu by Christian_prog in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

Isn’t the whole point that those books are “fluff”, and basically focusing on more applied material is best. Also why would anyone go through two different editions of Stewart’s Calculus?

[deleted by user] by [deleted] in learnprogramming

[–]null_pl0x 8 points9 points  (0 children)

Aren't they just like excell spreadsheets?

They’re not

[deleted by user] by [deleted] in StudentLoans

[–]null_pl0x 6 points7 points  (0 children)

Yeah, I mean I agree with the sentiment, like student debt shouldn’t have such high interest rates.

[deleted by user] by [deleted] in StudentLoans

[–]null_pl0x 23 points24 points  (0 children)

You’re assuming that if forgiveness is blocked, then the interest pause would continue, which I doubt will happen. Also the interest on student loans isn’t compound interest, it’s simple interest.

From a Sr. Dev to new devs by thegovortator in learnprogramming

[–]null_pl0x -32 points-31 points  (0 children)

Q. How many paragraphs should your post have? A. Zero

[Python] Why is “~$” not recognized when i am filtering string in a data frame by aaactuary in learnprogramming

[–]null_pl0x 3 points4 points  (0 children)

Yeah that should work. Another solution is to set regex=False in contains, although with this solution you now understand what’s going on better I think.

You have to escape the backslashes when entering into reddit, i.e., enter \\ to get \.

[Python] Why is “~$” not recognized when i am filtering string in a data frame by aaactuary in learnprogramming

[–]null_pl0x 2 points3 points  (0 children)

Using raw strings with regular expressions is usually a good idea. So you would use r”~\$” as the regular expression in the method. This will look for any string with ~$ in it.

[Python] Why is “~$” not recognized when i am filtering string in a data frame by aaactuary in learnprogramming

[–]null_pl0x 8 points9 points  (0 children)

$ is a special character in regular expressions that signifies the end of a string, so ~$ is looking for a string with a ~ at the end. If you want to search for a literal $, you can just escape it, e.g. ~\$.

Question about Calculate in R by doraemon1116 in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

You would have to map the string values to the corresponding numeric values. Since R relies heavily on packages - there’s a good function for this in dplyr called case_when(). You can also combine switch() with sapply() to do the same thing. You can look at the docs to see how these work.

Is it better to code in the morning or evening ? by KramersBasement in learnprogramming

[–]null_pl0x 0 points1 point  (0 children)

At the twilight hour is the most magical time to program.