Skip to main content

Loss function in nural algorithm

 Loss Function

Regression Loss Functions Mean Squared Error Loss(mean_squared_error) Mean Squared Log Error(mean_squared_logarithmic_error) Mean Absolute Error Loss(mean_absolute_error) Binary Classification Loss Functions Binary Cross Entropy(binary_crossentropy) Hinge Loss(hinge) Squared Hinge Loss(squared_hinge) Multi Class Classification Loss Functions Multi-Class cross entropy loss(categorical_crossentropy) Sparse Multiclass Cross Entropy Loss(sparse_categorical_crossentropy) Kullback
Kullback Leibler Divergence Loss(kullback_leibler_divergence)

Popular posts from this blog

spark-scala-python

 ############sparkcontest######33333 it is used in earlier spark 1.x //scala  import org.apache.spark.SparkConf     import org.apache.spark.SparkContext     val conf = new SparkConf().setAppName("first").setMaster("local[*]")     val sc = new SparkContext(conf) val rdd1 = sc.textFile("C:/workspace/data/txns") # python  from pyspark import SparkContext,SparkConf     conf = SparkConf().setAppName("first").setMaster("local[*])     sc = SparkContext(conf)      ## now days sparksession are used  ########range######### // in Scala val myRange = spark.range(1000).toDF("number") # in Python myRange = spark.range(1000).toDF("number") ###########where########## // in Scala val divisBy2 = myRange.where("number % 2 = 0") # in Python divisBy2 = myRange.where("number % 2 = 0") ###########read csv ########## // in Scala val flightData2015 = spark .read .option("inferSchema", "true") .o...

Binomial Distribution

  The binomial distribution formula is:                                                    b(x; n, P) =  n C x  * P x  * (1 – P) n – x Where: b = binomial probability x = total number of “successes” (pass or fail, heads or tails etc.) P = probability of a success on an individual trial n = number of trials Note:  The binomial distribution formula can also be written in a slightly different way, because  n C x  = n! / x!(n – x)! (this binomial distribution formula uses factorials  (What is a factorial? ). “q” in this formula is just the probability of failure (subtract your probability of success from 1). Using the First Binomial Distribution Formula The binomial distribution formula can calculate the probability of success for binomial distributions. Often you’ll be told to “plug in” the numbers to the  formul...

Tabel of content in Jupyter notebook

  SourceForge uses markdown syntax everywhere to allow you to create rich text markup, and extends markdown in several ways to allow for quick linking to other artifacts in your project. Markdown was created to be easy to read, easy to write, and still readable in plain text format. Links Reference Links Artifact Links User Mentions Basic Text Formatting Blockquotes Preformatted Text Lists Tables Headers Horizontal Rules Images Videos Escapes and HTML More Headers Table of Contents Code Highlighting Includes Neighborhood Notifications Project Info Macros Thanks Links Most URLs will automatically be turned into links. To be explicit, just write it like this: <http://someurl> <somebbob@example.com> Output: http://someurl somebbob@example.com To use text for the link, write it: [like this](http://someurl) Output: like this You can add a *title* (which shows up under the cursor): [like this](http://someurl "this title shows up when you hover") Output: like this Refe...