Skip to content

Instantly share code, notes, and snippets.

@tomer-ben-david
Last active April 8, 2018 07:42
Show Gist options
  • Save tomer-ben-david/b7885656aed42223e0bc63bbfd25790e to your computer and use it in GitHub Desktop.
Save tomer-ben-david/b7885656aed42223e0bc63bbfd25790e to your computer and use it in GitHub Desktop.
BigDecimal(1.002).setScale(2, BigDecimal.RoundingMode.HALF_UP).doubleValue() // Round double to #.##
| **Spark Term** | **Description** |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| Spreadsheet | Think of data as spreadsheet |
| Statistical learning | Output = f(input) # => f(inputVariable) or f(inputVector), or f(independent variables) or Y = F(X) // X1,X2,.. |
| Programming learning | OutputAttributes = Program(InputAttributes) or Program(InputFeatures) or Model = Algorithm(Data) |
| Error | Y = f(X) + e # => You learn a function! |
| Parametric learning | No matter how much data you throw on it, it will still need these parameters like a line Y = ax + b (logistic regression, linear discriminant analysis, perceptron) |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment