Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

A neural network (or any other machine learning technique) is not appropriate for guessing blackjack cards, because blackjack cards are random. Prediction algorithms are useful when there's some sort of pattern. If it were the case that a 5 of hearts would be more likely to be drawn after a 4 of diamonds, a prediction algorithm might be able to find that. ...


2

This answer is written in the spirit of New answers on old questions using new language features: The Swift language has developed considerably from Swift 1 (in 2014) to the current version Swift 5. Many new features were added in the meantime, and that allows to simplify the provided code. I will also use the current naming conventions of Swift: Names ...


3

This looks like it showcases your skills well, and the comments will help anyone looking back to know that you're a programmer who is interested in doing their research and knowing things. I tested this in Chrome on my local computer. Your question included a mention about your timeout function not working. You'll need to make a stackoverflow question for ...


1

This is a prime candidate for object orientation - you clearly have concepts like user, game, hand, shoe, dealer, etc. Each of these would keep track of their respective pieces of data — the User class would have a money field, for example. A method called display_info would not be expected to return anything - it should simply receive some information and ...


Top 50 recent answers are included