Commit 786d52cc authored by Sumner's avatar Sumner

some other stuff

parent fdd67012
......@@ -10,10 +10,10 @@
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 12156, 420]
NotebookOptionsPosition[ 10834, 367]
NotebookOutlinePosition[ 11192, 383]
CellTagsIndexPosition[ 11149, 380]
NotebookDataLength[ 13616, 471]
NotebookOptionsPosition[ 12103, 412]
NotebookOutlinePosition[ 12461, 428]
CellTagsIndexPosition[ 12418, 425]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
......@@ -362,7 +362,52 @@ Cell[BoxData[{
";", "\[IndentingNewLine]",
RowBox[{"\[ScriptCapitalY]", "[", "t", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], "Input",
CellChangeTimes->{{3.696272068572901*^9, 3.696272303309925*^9}}]
CellChangeTimes->{{3.696272068572901*^9, 3.696272303309925*^9}}],
Cell[CellGroupData[{
Cell["Other", "Section",
CellChangeTimes->{{3.6962730649818087`*^9, 3.696273065412793*^9}}],
Cell["\<\
Confirm that Variance[x] is the same as the variance of a gaussian centered \
around x.\
\>", "Text",
CellChangeTimes->{{3.696273069887269*^9, 3.6962730750497847`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Variance", "@",
RowBox[{"NormalDistribution", "[",
RowBox[{
RowBox[{"Mean", "@",
SubscriptBox["x", "1"]}], ",",
RowBox[{"StandardDeviation", "@",
SubscriptBox["x", "1"]}]}], "]"}]}], "==",
RowBox[{"Variance", "@",
SubscriptBox["x", "1"]}]}]], "Input"],
Cell[BoxData[
RowBox[{
RowBox[{"costFunction", ":=",
RowBox[{
UnderoverscriptBox["\[Sum]",
RowBox[{"i", "=", "1"}],
RowBox[{"Length", "@", "\[ScriptCapitalD]"}]],
RowBox[{
UnderoverscriptBox["\[Sum]",
RowBox[{"j", "=", "1"}],
RowBox[{"Length", "@", "\[ScriptCapitalD]"}]],
RowBox[{
RowBox[{"pjgi", "[",
RowBox[{"j", ",", "i"}], "]"}],
RowBox[{"Log", "[",
FractionBox[
RowBox[{"pjgi", "[",
RowBox[{"j", ",", "i"}], "]"}],
RowBox[{"qjgi", "[",
RowBox[{"j", ",", "i"}], "]"}]], "]"}]}]}]}]}], ";"}]], "Input"]
}, Open ]]
}, Open ]]
},
WindowSize->{808, 584},
......@@ -420,11 +465,15 @@ Cell[7848, 273, 541, 15, 32, "Input"]
}, Open ]],
Cell[CellGroupData[{
Cell[8426, 293, 94, 1, 92, "Title"],
Cell[8523, 296, 2295, 68, 190, "Input"]
Cell[8523, 296, 2295, 68, 190, "Input"],
Cell[CellGroupData[{
Cell[10843, 368, 92, 1, 64, "Section"],
Cell[10938, 371, 179, 4, 30, "Text"],
Cell[11120, 377, 327, 10, 32, "Input"],
Cell[11450, 389, 625, 19, 63, "Input"]
}, Open ]]
}, Open ]]
}
]
*)
(* End of internal cache information *)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment