Skip to content

Commit 5667b88

Browse files
committed
README and Description.props
1 parent 5f7610e commit 5667b88

File tree

2 files changed

+113
-0
lines changed

2 files changed

+113
-0
lines changed

Description.props

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Template Description file for a Weka package
2+
#
3+
4+
# Package name (required)
5+
PackageName=NeuralNetwork
6+
7+
# Version (required)
8+
Version=0.1
9+
10+
#Date (year-month-day)
11+
Date=2014-02-26
12+
13+
# Title (required)
14+
Title=Neural Network
15+
16+
# Category (recommended)
17+
Category=Classification, Regression
18+
19+
# Author (required)
20+
Author=Johannes Amtén <johannes_amten@hotmail.com>
21+
22+
# Maintainer (required)
23+
Maintainer=Johannes Amtén <johannes_amten@hotmail.com>
24+
25+
# License (required)
26+
License=Free to copy and modify. Please include author name if you copy code.
27+
28+
# Description (required)
29+
Description=A neural network implementation with dropout and rectified linear units.
30+
31+
# Package URL for obtaining the package archive (required)
32+
PackageURL=https://github.com/amten/NeuralNetwork
33+
34+
# URL for further information
35+
URL=https://github.com/amten/NeuralNetwork
36+
37+
# Enhances various other packages ?
38+
# Enhances=packageName1,packageName2,...
39+
40+
# Related to other packages?
41+
# Related=packageName1,packageName2,...
42+
43+
# Dependencies (format: packageName (equality/inequality version_number)
44+
Depends=weka (>=3.7.1)
45+
46+
# Message to display in installation. Can be used to provide
47+
# special instructions (e.g. manual stuff needed to complete
48+
# the installation process). (optional).
49+
MessageToDisplayOnInstallation=Important! \
50+
For optimal performance on Windows, you need to copy native matrix library dll-files to the install dir of Weka (".../Program Files/Weka-3-7") \
51+
Unzip this file to Wekas install dir: https://github.com/amten/NeuralNetwork/archive/BLAS_dlls_0.1.zip \
52+
\
53+
For Linux, native matrix library files have not been tested, \
54+
though it should be possible to install using instructions given here: https://github.com/fommil/netlib-java/
55+
56+
# Prevent package from being loaded by Weka if the named
57+
# files/directories are not present (relative to the package's
58+
# root directory). Useful for packages that require the user
59+
# to manually install some third-party library(s). (optional)
60+
#DoNotLoadIfFileNotPresent=lib/someLibrary.jar,otherStuff/important,...
61+
62+
# Log message to be displayed if package can't be loaded due to
63+
# missing files/directories. (optional)
64+
# DoNotLoadIfFileNotPresentMessage=funkyPackage can't be loaded because some \
65+
# funky libraries are missing. Please download funkyLibrary.jar from \
66+
# http://www.funky.com and install in $WEKA_HOME/packages/funkyPackage/lib
67+
68+
# Prevent package from being loaded by Weka if the named
69+
# classes can't be instantiated. Useful for packages that rely
70+
# on stuff that has to be installed manually (an example is
71+
# Java3D, which installs itself into the system JRE/JDK. (optional)
72+
#DoNotLoadIfClassNotPresent=com.some.class.from.some.Where,org.some.other.Class,...
73+
74+
# Log message to be displayed if package can't be loaded due to
75+
# missing classes. (optional).
76+
#DoNotLoadIfClassNotPresentMessage=funkyPackage can't be loaded because \
77+
# com.funky.FunkyClass can't be instantiated. Have you downloaded and run \
78+
# the funky software installer for your platform?
79+
80+
# Prevent package from being loaded by Weka if one or more (comma-separated)
81+
# environment variables or java properties are not set. (optional).
82+
#DoNotLoadIfEnvVarNotSet=
83+
84+
# Log message to be displayed if package can't be loaded due to unset
85+
# environment variables or java properties.
86+
#DoNotLoadIfEnvVarNotSetMessage=

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
## What's this?
3+
4+
Java neural network implementation with plugin for [WEKA] (http://www.cs.waikato.ac.nz/ml/weka/). Uses dropout and rectified linear units. Implementation is multithreaded and uses [MTJ] (https://github.com/fommil/matrix-toolkits-java) matrix library with native libs for performance.
5+
6+
## Installation
7+
8+
In WEKA, go to Tools/Package Manager and press the "File/URL" button. Enter "https://github.com/amten/NeuralNetwork/archive/NeuralNetwork_0.1.zip" and press "ok.
9+
10+
**Important!**
11+
For optimal performance on Windows, you need to copy native matrix library dll-files to the install dir of Weka (".../Program Files/Weka-3-7")
12+
Unzip this file to Wekas install dir: https://github.com/amten/NeuralNetwork/archive/BLAS_dlls_0.1.zip
13+
14+
For Linux, native matrix library files have not been tested, though it should be possible to install using instructions given [here] (https://github.com/fommil/netlib-java/)
15+
16+
## Usage
17+
18+
In WEKA, you will find the classifier under classifiers/functions/NeuralNetwork.
19+
20+
** Note 1: ** If you start Weka with console (alternative available in the windows start menu), you will get printouts of cost during each iteration of training and you can press <enter> in the console window to halt the training.
21+
22+
** Note 2: ** When using dropout as regularization, it might still be a good idea to have a small weight penalty. This keeps weights from exploding and causing overflows.
23+
24+
25+
## License
26+
27+
Free to copy and modify. Please include author name if you copy code.

0 commit comments

Comments
 (0)