Merge two arff files
Project description
####mergearff
####Use Case
When you want to merge two arff files with Weka, it gives you 2 options as merging and appending. Appending uses for merging two arff files which have exactly same headers. And merging option uses for merging attributes for same instances. But sometimes we need append arff files and their headers. So imagine you have 2 arff files which have same attributes(but different headers) and different instances.
1.arff, 30 instances
----------------------------------
@relation 1.arff
..
@attribute weather {rainy, sunny}
..
2.arff, 40 instances
----------------------------------
..
@attribute weather {cloudly}
..
merged.arff, 70 instances
---------------------------------
..
@attribute weather {rainy, sunny, cloudly]
..
####Usage
$ mergearff [1.arff] [2.arff] [merged.arff]
####Installation
$ [sudo] pip install mergearff
####Use Case
When you want to merge two arff files with Weka, it gives you 2 options as merging and appending. Appending uses for merging two arff files which have exactly same headers. And merging option uses for merging attributes for same instances. But sometimes we need append arff files and their headers. So imagine you have 2 arff files which have same attributes(but different headers) and different instances.
1.arff, 30 instances
----------------------------------
@relation 1.arff
..
@attribute weather {rainy, sunny}
..
2.arff, 40 instances
----------------------------------
..
@attribute weather {cloudly}
..
merged.arff, 70 instances
---------------------------------
..
@attribute weather {rainy, sunny, cloudly]
..
####Usage
$ mergearff [1.arff] [2.arff] [merged.arff]
####Installation
$ [sudo] pip install mergearff
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mergearff-1.1.tar.gz
(2.1 kB
view details)
File details
Details for the file mergearff-1.1.tar.gz
.
File metadata
- Download URL: mergearff-1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55557cd7ca7942ca7cb417107384552ce8c0319efb393f304daab5c87fec9344 |
|
MD5 | 559f2534b0bd576fd9bd29224faf0d5c |
|
BLAKE2b-256 | 70f6496cb7955ff9880555d61baab43bba7e0b6c84c83f89aa56832eba13e447 |