text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```kotlin
package id.zelory.compressor.constraint
import android.graphics.Bitmap
import id.zelory.compressor.compressFormat
import id.zelory.compressor.loadBitmap
import id.zelory.compressor.overWrite
import java.io.File
/**
* Created on : January 24, 2020
* Author : zetbaitsu
* Name : Zetra
* GitHub ... | /content/code_sandbox/compressor/src/main/java/id/zelory/compressor/constraint/FormatConstraint.kt | kotlin | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 175 |
```kotlin
package id.zelory.compressor.constraint
import java.io.File
/**
* Created on : January 25, 2020
* Author : zetbaitsu
* Name : Zetra
* GitHub : path_to_url
*/
class DestinationConstraint(private val destination: File) : Constraint {
override fun isSatisfied(imageFile: File): Boolean {
... | /content/code_sandbox/compressor/src/main/java/id/zelory/compressor/constraint/DestinationConstraint.kt | kotlin | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 132 |
```qmake
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/macbookair/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more detai... | /content/code_sandbox/app/proguard-rules.pro | qmake | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 141 |
```kotlin
package id.zelory.compressor.constraint
import android.graphics.Bitmap
import id.zelory.compressor.decodeSampledBitmapFromFile
import id.zelory.compressor.determineImageRotation
import id.zelory.compressor.overWrite
import java.io.File
/**
* Created on : January 25, 2020
* Author : zetbaitsu
* Name ... | /content/code_sandbox/compressor/src/main/java/id/zelory/compressor/constraint/DefaultConstraint.kt | kotlin | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 304 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
xmlns:tools="path_to_url"
package="id.zelory.compressor.sample">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 191 |
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item na... | /content/code_sandbox/app/src/main/res/values/styles.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 87 |
```xml
<resources>
<string name="app_name">Compressor</string>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 20 |
```xml
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/dimens.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 52 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/colors.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 67 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layou... | /content/code_sandbox/app/src/main/res/layout/activity_main.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 864 |
```xml
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_... | /content/code_sandbox/app/src/main/res/values-w820dp/dimens.xml | xml | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 83 |
```java
package id.zelory.compressor.sample;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.provider.OpenableColumns;
import android.util.Log;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;... | /content/code_sandbox/app/src/main/java/id/zelory/compressor/sample/FileUtil.java | java | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 710 |
```kotlin
package id.zelory.compressor.sample
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Color
import android.os.Bundle
import android.os.Environment
import android.util.Log
import android.widget.Toast
import androidx.appcompat.app.AppComp... | /content/code_sandbox/app/src/main/java/id/zelory/compressor/sample/MainActivity.kt | kotlin | 2016-06-18T13:54:59 | 2024-08-16T08:02:02 | Compressor | zetbaitsu/Compressor | 7,034 | 1,126 |
```desktop
[Desktop Entry]
Type=Application
Name=Buckle
Comment=Bucklespring keyboard sound
Exec=buckle -f
Icon=input-keyboard
StartupNotify=false
Terminal=false
Hidden=false
``` | /content/code_sandbox/buckle.desktop | desktop | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 41 |
```c
#include <windows.h>
#include <winuser.h>
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include "buckle.h"
void open_console();
LRESULT CALLBACK handle_kbh(int nCode, WPARAM wParam, LPARAM lParam);
static HHOOK kbh = NULL;
static int state[256] = { 0 };
int scan(int verbose)
{
HINSTANCE hInst = Ge... | /content/code_sandbox/scan-windows.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 471 |
```objective-c
#ifndef buckle_h
#define buckle_h
int play(int code, int press);
int scan(int verbose);
void printd(const char *fmt, ...);
void open_console(void);
#endif
``` | /content/code_sandbox/buckle.h | objective-c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 39 |
```c
#include <ApplicationServices/ApplicationServices.h>
#include "buckle.h"
/*
* From path_to_url
*/
static const int mactoset1[] =
{
/* set-1 SDL_QuartzKeys.h */
0x1e, /* QZ_a 0x00 */
0x1f, /* QZ_s 0x01 */
0x20, /* QZ_d ... | /content/code_sandbox/scan-mac.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 2,630 |
```c
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/poll.h>
#include <string.h>
#include <errno.h>
#include <libinput.h>
#include "buckle.h"
static int open_restricted(const char *path, int flags, void *user_data)
{
int fd = open(path, flags);
if(fd < 0) {
fprintf(stderr, "Failed to op... | /content/code_sandbox/scan-libinput.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 576 |
```unknown
NAME := buckle
SRC := main.c
VERSION := 1.5.1
PATH_AUDIO ?= "./wav"
CFLAGS ?= -O3 -g
LDFLAGS ?= -g
CFLAGS += -Wall -Werror
CFLAGS += -DVERSION=\"$(VERSION)\"
CFLAGS += -DPATH_AUDIO=\"$(PATH_AUDIO)\"
ifdef mingw
BIN := $(NAME).exe
CROSS := i686-w64-mingw32-
CFLAGS += -Iwin32/include -Iwi... | /content/code_sandbox/Makefile | unknown | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 625 |
```c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/time.h>
struct input_event {
struct timeval time;
unsigned short type;
unsigned short code;
unsigned int value;
};
#define HISTSIZE 60
int main(int argc, char **argv)
{
struct input_event ev... | /content/code_sandbox/rec.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 704 |
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <stdint.h>
#include <inttypes.h>
#include <unistd.h>
#include <limits.h>
#include <stdbool.h>
#include <getopt.h>
#include <time.h>
#ifdef __APPLE__
#include <OpenAL/al.h>
#include <OpenAL/alure.h>
#else
#in... | /content/code_sandbox/main.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 3,177 |
```c
#include <stdio.h>
#include <X11/XKBlib.h>
#include <X11/extensions/record.h>
#include "buckle.h"
void key_pressed_cb(XPointer arg, XRecordInterceptData *d);
int scan(int verbose)
{
/* Initialize and start Xrecord context */
XRecordRange* rr;
XRecordClientSpec rcs;
XRecordContext rc;
printd("Opening Xr... | /content/code_sandbox/scan-x11.c | c | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 521 |
```unknown
Name: OpenAL
Description: OpenAL is a cross-platform 3D audio API
Requires:
Version: 1.17.2
Libs:
Cflags:
``` | /content/code_sandbox/mac/lib/pkgconfig/openal.pc | unknown | 2016-02-03T12:20:04 | 2024-08-15T17:19:36 | bucklespring | zevv/bucklespring | 1,409 | 40 |
```unknown
#!/usr/bin/env lua
--require "format"
--[[
a file access mode
c process command name (all characters from proc or user structure)
C file structure share count
d file's device character code
D file's major/minor device number (0x<hexadecimal>)
f file descriptor (always selected... | /content/code_sandbox/lsofgraph | unknown | 2016-02-08T13:04:38 | 2024-07-25T23:01:32 | lsofgraph | zevv/lsofgraph | 1,017 | 1,682 |
```tex
%% glossaries
%% Chapter 1
\newglossaryentry{perceptron}{
name={},
description={\emph{Perceptron}}
}
\newglossaryentry{sigmoid-neuron}{
name={S },
description={\emph{Sigmoid Neuron}}
}
\newglossaryentry{sigmoid-func}{
name={S },
description={\emph{Sigmoid Function}}
}
\newglossaryentry{sgd}{
n... | /content/code_sandbox/glossaries.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 3,279 |
```tex
% file: author.tex
\chapter{}
\label{ch:Author}
\begin{minipage}{0.7\linewidth}
\textbf{Michael Nielsen}
\href{path_to_url}{path_to_url}
\end{minipage}
\hfill
\begin{minipage}{0.25\linewidth}
\includegraphics[width=\textwidth]{mn.jpg}
\end{minipage}
``` | /content/code_sandbox/author.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```unknown
# Makefile
#
TEX = xelatex
MKIDX = makeindex
MKGLS = makeglossaries
RM = rm -rf
MAKE = make
TARGET = nndl-ebook.pdf
STYLES = $(wildcard *.sty)
SOURCES := $(wildcard *.tex)
IMAGEDEPS := $(wildcard images/*.tex)
IMAGEDEPS += $(wildcard images/*.png)
IMAGEDEPS += $(wildcard images/*.jpeg)
.PHONY: all graphic... | /content/code_sandbox/Makefile | unknown | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 253 |
```tex
% file: sai.tex
\chapter{\emph{}\,}
~~
~~
~~
~~
16
17
16
~~
~~
~~10001000 100
98\%
~~ 95\% 99\%
2007 (
) DNA 1.25 DNA
30 96\% ~~1.25 /30
0.04166666666
1.25 4 ~~
A adenine, C cytosine, G guanine, T thymine
2 4 1.25 2.5
2.5
... | /content/code_sandbox/sai.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 307 |
```tex
% file: translators.tex
\chapter{}
\label{ch:TranslationTeam}
\section*{}
\href{path_to_url}{Neural Networks and
Deep Learning} \LaTeX
\LaTeX
\href{path_to_url}{GitHub}
\href{path_to_url}{Xiaohu
Zhu }
\href{path_to_url}{}
\href{path_to_url}{}
\href{path_to_url}{issue}
\href{path_to_url}{GitHub}... | /content/code_sandbox/translation.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 362 |
```tex
% file: chap1.tex
\chapter{}
\label{ch:UsingNeuralNetsToRecognizeHandwrittenDigits}
\begin{center}
\includegraphics[width=64pt]{digits}\label{fig:digits}
\end{center}
504192
{\serif V1}14
{\serif V1}~~
{\serif V2}{\serif V3}{\serif V4} {\serif V5}~~
~~ 9
~~
\begin{center}
\includegraphics[wi... | /content/code_sandbox/chap1.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 10,454 |
```tex
% file: plots.tex
% The following 2 macros are used for plotting learning curve in chapter 3:
% learn cost curve of a single sigmoid neutron with quadratic cost function
\newcommand{\quadraticCostLearning}[4]{
\begin{tikzpicture}[
inner sep=0pt,
minimum size=10mm,
font=\footnotesize,
backgrou... | /content/code_sandbox/plots.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 11,852 |
```tex
% file: title.tex
\begin{titlepage}
\begin{center}
\hfill\\
\vspace{1cm}
% title of this document
{\fontsize{36pt}{40pt}\NotoSansSCBold{} }\\
\vspace{1em}
{\LARGE\href{path_to_url}{Neural Networks and Deep Learning}}\\
\vspace{1cm}
\includegraphics{cayley}\\
\vspace{1cm}
{\LARGE \href{path_t... | /content/code_sandbox/title.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 256 |
```tex
% file: westernfonts.tex
\newfontfamily\SourceCodePro{SourceCodePro}[
UprightFont=*-Light,
BoldFont=*-Medium,
ItalicFont=*-LightIt,
BoldItalicFont=*-MediumIt]
\newfontfamily\SourceSerifPro{SourceSerifPro}[
UprightFont=*-Light,
BoldFont=*-Semibold]
\newcommand{\serif}[0]{\SourceSerifPro}
\setmono... | /content/code_sandbox/westernfonts.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 150 |
```tex
% file: history.tex
\chapter{}
\begin{table}[h]
\centering
\begin{tabularx}{0.9\textwidth}{ r X }
\toprule
\textbf{} & \textbf{}\\
\midrule
2017-04-09 & \vspace{-1.5ex}
\begin{compactitem}
\item Version 0.5
\item \href{path_to_url#serif-hans}{}
... | /content/code_sandbox/history.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 358 |
```tex
% file: localization.tex
% load cjkfonts and set Source Han Sans SC as the default CJK fonts:
\usepackage[default]{cjkfonts}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\bfseries\huge}%
{\huge \thechapter{} }%
{10 pt}%
{\bfseries\huge}%
\renewcommand{\contentsname}{}
\renewcommand{\indexn... | /content/code_sandbox/localization.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 174 |
```tex
% file: about.tex
\chapter{}
\label{ch:About}
2006
2006``''
``''
Facebook
\section*{}
\label{sec:PrincipleOrientedApproach}
``''------
\section*{}
\label{sec:HandsOnApproach}
Python2.7Python
\href{path_to_url}{}
\hyperref[ch:HowTheBackpropagationAlgorithmWorks]{}
\hyperref... | /content/code_sandbox/about.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 125 |
```tex
% file: chap4.tex
\chapter{}
\label{ch:VisualProof}
$f(x)$
\begin{center}
\includegraphics{function}
\end{center}
\label{basic_network_precursor}
$x$ $f(x)$
\begin{center}
\includegraphics{basic_network}
\end{center}
$f = f(x_1, \ldots, x_m)$
$m = 3$ $n = 2$
\begin{center}
\includegraphics{vector... | /content/code_sandbox/chap4.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 3,186 |
```tex
% file: exercises_and_problems.tex
\chapter{}
\label{chap:ExercisesAndProblems}
``` | /content/code_sandbox/exercises_and_problems.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 26 |
```tex
% file: chap6.tex
\chapter{}
\label{ch:Deeplearning}
\hyperref[ch:WhyHardToTrain]{}
\hyperref[sec:convolutional_networks]{}
MNIST
\begin{center}
\includegraphics[width=64pt]{digits}
\end{center}
\gls*{pooling} GPU
\gls*{overfitting}\gls*{dropout}
\gls*{overfitting}
10,000 MNIST ~~
~~ 9,967... | /content/code_sandbox/chap6.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 11,211 |
```tex
% file: chap2.tex
\chapter{}
\label{ch:HowTheBackpropagationAlgorithmWorks}
\hyperref[ch:UsingNeuralNetsToRecognizeHandwrittenDigits]{}
\gls*{weight}\gls*{bias}
\textbf{\gls{bp}}
\gls*{bp} 1970
\href{path_to_url}{David Rumelhart}
\href{path_to_url~hinton/}{Geoffrey Hinton}
\href{path_to_url}{Ronald William... | /content/code_sandbox/chap2.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 8,685 |
```tex
% cjkfonts.sty
%
% A XeLaTeX package for typesetting CJK documents.
%
% Options:
% default: boolean option, cjkfonts is set as the default font family and as the sans serif family for CJK text.
% Identification
% ==============
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cjkfonts}[2015/12/12 A simple XeLaTeX pa... | /content/code_sandbox/cjkfonts.sty | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 1,527 |
```tex
% file: preface.tex
\chapter{}
\label{chap:Introduction}
\begin{itemize}
\item
\item
\end{itemize}
\hyperref[ch:About]{}
\hyperref[ch:UsingNeuralNetsToRecognizeHandwrittenDigits]{}
``` | /content/code_sandbox/preface.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 62 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,a4paper,oneside]{book}
\usepackage[margin=2.5cm]{geometry}
\input{main}
``` | /content/code_sandbox/nndl-ebook.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 53 |
```tex
% file: acknowledgements.tex
\chapter{}
\label{ch:acknowledgements}
Paul BlooreChris DawsonAndrew DohertyIlya GrigorikAlex
KosorukoffChris Olah Rob Spekkens
Rob Chris
Yoshua Bengio
``` | /content/code_sandbox/acknowledgements.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 58 |
```tex
% file: faq.tex
\chapter{Frequently Asked Questions}
\begin{center}
\begin{tikzpicture}[
inner sep=0pt,
minimum size=10mm,
background rectangle/.style={
draw=gray!25,
fill=gray!10,
rounded corners
},
show background rectangle]
%\pgfkeys{/pgf/number format/showpos,pr... | /content/code_sandbox/faq.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 137 |
```tex
% file: chap5.tex
\chapter{}
\label{ch:WhyHardToTrain}
{\serif AND}{\serif OR}
\begin{center}
\includegraphics{shallow_circuit}
\end{center}
{\serif AND}{\serif NAND}~~
{\serif AND}
\begin{center}
\includegraphics{circuit_multiplication}
\end{center}
1980\footnote{
Johan
Hsta... | /content/code_sandbox/chap5.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 3,454 |
```tex
% file: copyright.tex
\chapter{}
\href{path_to_url}{path_to_url}
Michael A. Nielsen, ``Neural Networks and Deep
Learning'', Determination Press, 2015
\href{path_to_url}{Creative
\href{mailto:mn@michaelnielsen.org}{}
\hyperref[sec:TranslationTeam]{}
``` | /content/code_sandbox/copyright.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 76 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% your_sha256_hash--------------
% customize the headers with fancyhdr package
% your_sha256_hash--------------
\usepackage{fancyhdr}
\fancyhf{}
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\nouppercase{\rightmark}}
\fancyfoot[LE,RO]{\thepage}
\pagestyle{fan... | /content/code_sandbox/main.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 1,600 |
```tex
\begin{lstlisting}[language=Python]
$ python expand_mnist.py
\end{lstlisting}
``` | /content/code_sandbox/snippets/run_expand_mnist.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 24 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\crossEntropyCostLearning{2.0}{2.0}{0.005}{0}
\end{document}
``` | /content/code_sandbox/images/saturation4-0.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\quadraticCostLearning{0.6}{0.9}{0.15}{300}
\end{document}
``` | /content/code_sandbox/images/saturation1-300.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{math}
\begin{document}
% borrow the code from path_to_url
\begin{tikzpicture}[scale=.06pt]
\tikzmath{
% --------------------------
% the parameters of the tree
% --... | /content/code_sandbox/images/cayley.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 481 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\quadraticCostLearning{2.0}{2.0}{0.15}{200}
\end{document}
``` | /content/code_sandbox/images/saturation2-200.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
% file: chap3.tex
\chapter{}
\label{ch:ImprovingTheWayNeuralNetworksLearn}
%
\gls*{bp}
\gls*{cost-func}~~%
\hyperref[sec:the_cross-entropy_cost_function]{}\gls*{cost-func}%
\hyperref[sec:overfitting_and_regularization]{\gls*{regularization}}L1 L2 \gls*{regularization}
\gls*{dropout}%
\hyperref[sec:weigh... | /content/code_sandbox/chap3.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 20,037 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\crossEntropyCostLearning{2.0}{2.0}{0.005}{100}
\end{document}
``` | /content/code_sandbox/images/saturation4-100.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage[default]{cjkfonts}
\usetikzlibrary{calc,positioning}
\input{../westernfonts}
\begin{document}
\begin{tikzpicture}
\foreach \x in {0,...,26}
\draw (\x * 0.4,0) -- (\x * 0.4, 1);
... | /content/code_sandbox/images/shallow_circuit.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 727 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\begin{axis}[
view={-30}{1... | /content/code_sandbox/images/many_towers.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 297 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis x line=middle,
axis y line=left,
ymin=-2.2,
ymax=2.2,
xmax=1.1,
xlabel=$x... | /content/code_sandbox/images/shifted_bumps.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 440 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm},
font=\footnotesize
]
\node(l0) [neuron] {};
\node(... | /content/code_sandbox/images/tikz24.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 731 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=1.6mm}
]
\foreach \x in {0,...,27}
\foreach \y in {0,...,27}
... | /content/code_sandbox/images/tikz44.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 365 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Title: /home/zhanggyb/overfitting3.eps
%%Creator: matplotlib version 1.3.1, path_to_url
%%CreationDate: Wed Feb 17 11:16:53 2016
%%Orientation: portrait
%%BoundingBox: 13 175 598 616
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
/m { moveto } bind def
/l { lineto ... | /content/code_sandbox/images/overfitting3.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 15,458 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm},
font=\footnotesize
]
\node (neuron) [neuron] {};
\node ... | /content/code_sandbox/images/tikz28.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 202 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm},
font=\footnotesize
]
% left layers:
\foreach \y in {0,..... | /content/code_sandbox/images/tikz32.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 479 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (MATLAB, The Mathworks, Inc. Version 8.6.0.267246 \(R2015b\). Operating System: Mac OS X)
%%Title: /Users/zhanggyb/Workspace/github/nndl/images/polynomial_fit.eps
%%CreationDate: 2016-01-30T20:25:51
%%Pages: (atend)
%%BoundingBox: 0 0 560 420
%%LanguageLevel: 2
%%EndComm... | /content/code_sandbox/images/polynomial_fit.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 8,694 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{positioning}
\input{../plots}
\begin{document}
\manipulateTiGraph{8}{-5}
\end{document}
``` | /content/code_sandbox/images/ti_graph.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 83 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Title: /home/zhanggyb/figure_2.eps
%%Creator: matplotlib version 1.3.1, path_to_url
%%CreationDate: Wed Mar 16 10:50:13 2016
%%Orientation: portrait
%%BoundingBox: 13 175 598 616
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
/m { moveto } bind def
/l { lineto } bi... | /content/code_sandbox/images/training_speed_3_layers.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 20,214 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\usepackage{pgfplots}
\usepackage[default]{cjkfonts}
\input{../westernfonts}
\input{../plots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel={... | /content/code_sandbox/images/create_step_function.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 472 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\node (x1) at (-6, 1.2) {$x_1$};
\node (x2) at (-6, -1.2) {$x_2$};
\node (pl1) at (... | /content/code_sandbox/images/tikz5.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 496 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\node (x1) at (-6, 1.2) {$x_1$};
\node (x2) at (-6, -1.2) {$x_2$};
\node (pl1) at (-... | /content/code_sandbox/images/tikz4.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 503 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
inputlayer/.style={rectangle,draw,fill=white,inner sep=0pt,minimum size=30mm},
hiddenlayer/.style={rectangle,draw,fill=white,inne... | /content/code_sandbox/images/simple_conv.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 981 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\usepackage{pgfplots}
\usepackage{cjkfonts}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\begin{scop... | /content/code_sandbox/images/step_parameterization.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 493 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Title: /home/zhanggyb/regularized2.eps
%%Creator: matplotlib version 1.3.1, path_to_url
%%CreationDate: Wed Feb 17 11:25:13 2016
%%Orientation: portrait
%%BoundingBox: 13 175 598 616
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
/m { moveto } bind def
/l { lineto ... | /content/code_sandbox/images/regularized2.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 13,625 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{circuits.logic.US,positioning,decorations.pathreplacing,math}
\begin{document}
\begin{tikzpicture}[
circuit logic US, large circuit symbols,
contact/.style={circle, fill=black, min... | /content/code_sandbox/images/tikz3.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 617 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm}
]
% input label:
\node (input) at (-4.5, 0) {input};
% leftmost perceptrons:
\node... | /content/code_sandbox/images/tikz1.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 859 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\crossEntropyCostLearning{2.0}{2.0}{0.005}{50}
\end{document}
``` | /content/code_sandbox/images/saturation4-50.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```unknown
# Makefile to generate pdfs from tikz pictures
TEX := xelatex
RM := rm -f
TARGETS := $(patsubst %.tex,%.pdf,$(wildcard *.tex))
.PHONY: clean
all: $(TARGETS) ../plots.tex
%.pdf: %.tex
$(TEX) $(basename $<)
clean:
$(RM) *.pdf
$(RM) *.aux
$(RM) *.log
``` | /content/code_sandbox/images/Makefile | unknown | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 100 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (MATLAB, The Mathworks, Inc. Version 8.6.0.267246 \(R2015b\). Operating System: Mac OS X)
%%Title: /Users/zhanggyb/Workspace/github/nndl/images/simple_model.eps
%%CreationDate: 2016-01-30T20:22:54
%%Pages: (atend)
%%BoundingBox: 0 0 560 420
%%LanguageLevel: 2
%%EndCommen... | /content/code_sandbox/images/simple_model.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 7,593 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis x line=middle,
axis y line=left,
ymin=-2.2,
ymax=2.2,
xmax=1.1,
xlabel=$x... | /content/code_sandbox/images/half_bumps.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 442 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{positioning}
\input{../plots}
\begin{document}
\createTiGraphSurf{8}{-5}
\end{document}
``` | /content/code_sandbox/images/ti_graph-0.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 83 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Title: /home/zhanggyb/figure_3.eps
%%Creator: matplotlib version 1.3.1, path_to_url
%%CreationDate: Wed Mar 16 10:50:25 2016
%%Orientation: portrait
%%BoundingBox: 13 175 598 616
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
/m { moveto } bind def
/l { lineto } bi... | /content/code_sandbox/images/training_speed_4_layers.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 22,599 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{math}
\begin{document}
\begin{tikzpicture}[
tick/.style={font=\scriptsize}
]
\draw (-6,0) -- (6,0);
\foreach \x in {-30, -20, -10, 0, 10, 20, 30}
\draw (\x / 5, 0) -- (\x / 5,... | /content/code_sandbox/images/wide_gaussian.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 324 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\crossEntropyCostLearning{2.0}{2.0}{0.005}{200}
\end{document}
``` | /content/code_sandbox/images/saturation4-200.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\node (x1) at (-6, 1.2) [neuron] {$x_1$};
\node (x2) at (-6, -1.2) [neuron] {$x_2$};
... | /content/code_sandbox/images/tikz6.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 480 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\quadraticCostLearning{2.0}{2.0}{0.15}{250}
\end{document}
``` | /content/code_sandbox/images/saturation2-250.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm},
font=\footnotesize
]
\node(l0) [neuron] {};
\node(... | /content/code_sandbox/images/tikz25.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 769 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm},
font=\footnotesize
]
\node(l0) [neuron] {};
\node(... | /content/code_sandbox/images/tikz22.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 692 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
tick/.style={font=\footnotesize}
]
\draw (-5,0) -- (5,0) node [right] {Z};
\foreach \x in {-4, -3, -2, -1, 0, 1, 2, 3, 4}
\draw (\x, 0) -- (\x, -0.15)... | /content/code_sandbox/images/tanh_function.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 350 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\usepackage{pgfplots}
\usepackage{cjkfonts}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\begin{scop... | /content/code_sandbox/images/step.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 566 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm}
]
% left layers:
\foreach \y in {0,...,2}
... | /content/code_sandbox/images/tikz31.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 510 |
```postscript
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (MATLAB, The Mathworks, Inc. Version 8.6.0.267246 \(R2015b\). Operating System: Mac OS X)
%%Title: /Users/zhanggyb/Workspace/github/nndl/images/linear_fit.eps
%%CreationDate: 2016-01-30T20:29:15
%%Pages: (atend)
%%BoundingBox: 0 0 560 420
%%LanguageLevel: 2
%%EndComments... | /content/code_sandbox/images/linear_fit.eps | postscript | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 8,303 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\crossEntropyCostLearning{0.6}{0.9}{0.005}{250}
\end{document}
``` | /content/code_sandbox/images/saturation3-250.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{positioning}
\input{../plots}
\begin{document}
\createTiGraphSurf{50}{-5}
\end{document}
``` | /content/code_sandbox/images/ti_graph-1.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 83 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{calc,positioning}
\usepackage{pgfplots}
\usepackage{cjkfonts}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width=7cm,
height=7cm,
xlabel={\norm... | /content/code_sandbox/images/inverted_function_2.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 289 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds,math}
\input{../plots}
\begin{document}
\quadraticCostLearning{2.0}{2.0}{0.15}{50}
\end{document}
``` | /content/code_sandbox/images/saturation2-50.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 94 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage[default]{cjkfonts}
\usetikzlibrary{calc,positioning}
\input{../westernfonts}
\begin{document}
\begin{tikzpicture}
\foreach \x in {0,...,26}
\coordinate (p\x) at (\x * 0.4,0);
... | /content/code_sandbox/images/circuit_multiplication.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 821 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
tick/.style={font=\footnotesize}
]
\draw (-5,0) -- (5,0) node[right] {Z};
\foreach \x in {-4,...,5}
\draw (\x, 0) -- (\x, -0.15) node[tick,below]{$\x$... | /content/code_sandbox/images/max_function.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 315 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\node (perceptron) at (0, 0) [neuron] {$x_1$};
\node (output) at (2.25, 0) {};
\dra... | /content/code_sandbox/images/tikz7.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 144 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning,math}
\input{../plots}
\begin{document}
\manipulateSoftmaxBars{2.5}{-1}{3.2}{-5}
\end{document}
``` | /content/code_sandbox/images/softmax-4.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 87 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=10mm}
]
\node(n) [neuron] {};
\node(x) [neuron,left=1.25 of n,... | /content/code_sandbox/images/two_inputs.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 263 |
```tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,tikz,border=1]{standalone}
\usepackage[default]{cjkfonts}
\begin{document}
\begin{tikzpicture}[
neuron/.style={circle,draw,inner sep=0pt,minimum size=8mm}
]
% leftmost perceptrons:
\node (pl1) at (-2.25, 1.25) [neu... | /content/code_sandbox/images/tikz8.tex | tex | 2016-01-20T08:40:07 | 2024-08-15T16:40:43 | nndl | zhanggyb/nndl | 1,208 | 704 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.