We all have those days where we're doubting ourselves and everything seems so difficult and practically impossible. For me, that was yesterday. When I was trying my best to follow along with the bootcamp's Javascript Tic-Tac-Toe video. I kept thinking to myself, how could I ever come up with this on my own? There are functions within functions and yet more functions everywhere! It's on those days that I particularly need the Codenewbie for some inspiration. I found out about this most adorable CSS game. Flexbox Froggy is now my new favourite game. It's a great way to kill time and just take your mind off impossible functions. You use CSS to move the little froggies to their lilypads. It reminds me of another game I love- Hoppers. Many an hour has been spent playing that game as well. <3 <3 <3
It's definitely been a bit since I've seen this graphy. Anyone who has learnt about standard deviation knows this graph. Standard Deviation Standard deviation shows us how spread out all the values in a set are from the mean. The higher the standard deviation, the more spread out the values are over a wider range and the flatter this curve. In a normal distribution, most values are within 1 standard deviation from the mean(the green part of the graph). Apparently NumPy can calculate standard deviation too! import numpy numSet = [ *lots of numbers* ] numSetStdDev = numpy.std(numSet) Variance The variance also indicates how spread out the values in a set are. It measures the average degree to which each value differs from the mean. variance = standard deviation ^2 import numpy numSet = [ *lots of numbers * ] numSetVar = numpy.var(numSet) Source: https://www.w3schools.com/python/python_ml_standard_deviation.asp
Comments
Post a Comment