https://github.com/varuns2002/python-weka-extensions
Programs to improve some features in Weka.
https://github.com/varuns2002/python-weka-extensions
append arff python weka
Last synced: 11 months ago
JSON representation
Programs to improve some features in Weka.
- Host: GitHub
- URL: https://github.com/varuns2002/python-weka-extensions
- Owner: VarunS2002
- License: gpl-3.0
- Created: 2021-08-13T13:36:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-14T10:57:13.000Z (over 4 years ago)
- Last Synced: 2025-02-12T19:40:28.250Z (about 1 year ago)
- Topics: append, arff, python, weka
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python-Weka-Extensions
## [Downloads](https://github.com/VarunS2002/Python-Weka-Extensions/releases)
[](https://www.gnu.org/licenses/gpl-3.0)
Programs to improve some features in Weka.
## Requirements:
- Install Weka or download `weka.jar` from https://waikato.github.io/weka-wiki/downloading_weka/
## 1. append_multiple.py
- Program to append multiple `.arff` files to one `.arff` file since Weka only supports appending 2 files
- ### Usage:
> #### Method 1 (Windows):
- Requirements:
- Java Runtime Environment
- Download the `.exe` (Windows Executable) file
- Open a terminal with the working directory set to the location of the `.exe` file
- Syntax: `append_multiple.exe 1.arff 2.arff 3.arff 4.arff outputfile.arff`
- Use only the filenames of the `.arff` files without the path
- Follow the on screen instructions
> #### Method 2 (Windows and Linux):
- Requirements:
- Java Runtime Environment
- Python 3.9
- For Windows https://www.python.org/downloads/ is recommended
- Download the `.py` (Python Source Code) file
- Open a terminal with the working directory set to the location of the `.py` file
- Syntax: `python append_multiple.py 1.arff 2.arff 3.arff 4.arff outputfile.arff`
- Use only the filenames of the `.arff` files without the path
- Wrap filename in double quotes if it contains spaces
- Follow the on screen instructions
## Dependencies:
- [auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/) is used for compiling the program to a .exe file