weka.paketlendi

This commit is contained in:
milisbir 2018-05-25 17:43:40 +02:00
parent 07905dfaec
commit 0caed7d6cf
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Tanım: A collection of machine learning algorithms for data mining tasks
# URL: http://www.cs.waikato.ac.nz/ml/weka/
# Paketçi: milisarge
# Gerekler: openjdk
# Grup: geliştirme
isim=weka
surum=3.8.2
devir=1
kaynak=(http://downloads.sourceforge.net/sourceforge/weka/weka-${surum//./-}.zip
weka.sh
weka.desktop)
derle() {
cd $SRC/$isim-${surum//./-}
# install jar file
mkdir -p $PKG/usr/share/java/$isim
install -m644 weka.jar $PKG/usr/share/java/$isim/weka.jar
# setup for freedesktop icons and shell script
mkdir -p $PKG/usr/share/{applications,pixmaps}
mkdir -p $PKG/usr/bin
install -m644 weka.ico $PKG/usr/share/pixmaps/weka.ico
install -m644 $SRC/weka.desktop $PKG/usr/share/applications/weka.desktop
install -m755 $SRC/weka.sh $PKG/usr/bin/weka
}

View File

@ -0,0 +1,19 @@
[Desktop Entry]
Encoding=UTF-8
Categories=Development;Science;Math;Database;Java;
Name=Weka
Comment=A data mining and machine learning toolkit
Comment[de]=Werkzeuge für Datenfilterung und Lernen durch Maschine
Comment[en]=A data mining and machine learning toolkit
Comment[es]=Herramientas para minería de datos y aprendizaje de máquinas
Comment[fr]=Outils pour l'extraction de connaissances a partir des données
Comment[it]=Attrezzi per l'estrazione di dati ed imparare di macchina
Comment[pt]=Ferramentas para a extração de dados e a aprendizagem de máquina
Comment[tr]=Veri Madenciliği ve Makina Öğrenme Aracı
Icon=weka.ico
TryExec=/usr/bin/weka
Exec=/usr/bin/weka
URL=http://www.cs.waikato.ac.nz/ml/weka/
StartupNotify=false
Terminal=false
Type=Application

View File

@ -0,0 +1,16 @@
#! /bin/sh
# Note: the '-Xmx2g' flag is used to set the maximum memory that the java
# program is allowed. When working with large data sets, this number may need
# to be increased based on how much memory you wish to allow weka to have.
# Specifying command line arguments will override the defaults shown here.
# Example: '-Xmx4g'
DEFAULT_ARGS='-Xms32m -Xmx2g'
if [ $# -gt 0 ]; then
ARGS="$@"
else
ARGS="$DEFAULT_ARGS"
fi
java $ARGS -jar /usr/share/java/weka/weka.jar