This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Autoencoder example for dimensionalilty reduction of MNIST | |
# Requires tensorflow and seaborn | |
# e.g.: pip install tensorflow-cpu seaborn | |
import tensorflow as tf | |
import numpy as np | |
import seaborn as sns | |
import matplotlib.pyplot as plt |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright 2021 David Haegele - Source from JPlotter */ | |
import java.awt.Color; | |
import java.awt.Paint; | |
import java.awt.PaintContext; | |
import java.awt.Rectangle; | |
import java.awt.RenderingHints; | |
import java.awt.Shape; | |
import java.awt.geom.AffineTransform; | |
import java.awt.geom.Point2D; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.apache.batik.anim.dom.SVGDOMImplementation.SVG_NAMESPACE_URI; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStreamWriter; | |
import java.util.Scanner; | |
import org.apache.batik.anim.dom.SVGDOMImplementation; | |
import org.apache.batik.transcoder.TranscoderException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Dimension; | |
import java.awt.Graphics; | |
import java.awt.event.ComponentAdapter; | |
import javax.swing.JFrame; | |
import javax.swing.SwingUtilities; | |
import org.lwjgl.opengl.GL; | |
import org.lwjgl.opengl.GL11; | |
import org.lwjgl.opengl.awt.AWTGLCanvas; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear all; | |
clc; | |
more off; | |
function result = normalize(x) | |
l = norm(x); | |
if l > 0.00001 | |
result = x/l; | |
else | |
result = x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package radon; | |
import java.util.function.DoubleBinaryOperator; | |
import hageldave.imagingkit.core.Img; | |
import hageldave.imagingkit.core.io.ImageLoader; | |
import hageldave.imagingkit.core.io.ImageSaver; | |
import hageldave.imagingkit.core.scientific.ColorImg; | |
import hageldave.imagingkit.core.util.ImageFrame; |
NewerOlder