Introduction This article will cover how to query Postgresql from Spark, using Scala. To know more about Scala, check out any of the previous Scala articles. Spark PostgreSQL Dependencies Below, find dependencies needed to add to the build.sbt file. libraryDependencies += “org.postgresql” % “postgresql” % “42.2.5”libraryDependencies += “org.apache.spark” %% “spark-mllib” % sparkVersion % Provided To … Read morePostgresql from Spark, how to query?
SBT plugin – Introduction To create a SBT plugin, I am using SBT 1.2.6 and Scala 2.12.x. My consumer project is using SBT 1.2.6 and Scala 2.11.12. When you build a plugin, the requirements are: SBT version of the plugin needs to be the same as the SBT version of your project. SBT version of … Read moreSBT Plugin – How to make it, debug it, improve it?
Introduction This article is a simple explanation on how to find the chromatic polynomial as well as calculating the number of color: f() This equation is what we are trying to solve here. G is the Graph and is the number of color available. If you remember how to calculate derivation for function, this is the same … Read more[Graph Theory] Graph Coloring and Chromatic Polynomial
Introduction We are going to install tensorflow-gpu from scratch on a Windows 10 machine. You will find all the right version numbers. All the traps to dodge. All the solutions to the problems I encountered. My system is: Windows 10 64 Nvidia GeForce 1070 Installing everything Python You need Python3.5.4. Go to https://www.python.org/downloads/release/python-354rc1/ I downloaded the Windows … Read moreTensorflow-gpu on Windows10 – Tutorial