Spardat2SSD Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: Spardat2SSD.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Amit Belani (View more)

Spardat2SSD script description:




Publisher review:
Spardat2SSD - Convert a data file from spardat to SSD format. spardat2ssd(FILEIN,FILEOUT,DATATYPE,DISPINTERVAL) converts the contents of the input file FILEIN to the output file FILEOUT. FILEIN is the name of a data file in Spardat format, particularly such as that used by SVM-Light. FILEOUT is the name of a data file in Simple Sparse Dataset (SSD) format, particularly such as that used by Auton Lab.The argument DATATYPE is optional. Its value can be either Categorical or Real, with the default being Categorical. Categorical pertains to a data file which has attribute values of only 1. Real pertains to a data file which has real attribute values, e.g. -4, 3, 3.14, etc. If set to Categorical (default), the output data file will have two columns, with the first column representing the row number (starting from 0), and the second column representing the column number (with the class being column 1). If set to Real, the output data file will also have a third column - this represents the real numbered attribute value.The argument DISPINTERVAL is also optional. This argument controls the frequency of display of the conversion status. Its default value is 100, which means that the status will display after processing every 100 lines from the input file. Irrespective of the value of this argument, the status will also display once the input file has been fully processed. If set to 0, the status will never display.EXAMPLES:spardat2ssd('spardat_categorical.sample.data','ssd_categorical.sample.csv','Categorical',2)spardat2ssd('spardat_real.sample.data','ssd_real.sample.csv','Real',0)spardat2ssd('spardat.data','ssd.data')spardat2ssd('spardat.data','ssd.data','Real')REMARKS:The input file must contain cases that are only two-class. The class value must be represented in the first column of the input file. Positive classes must be represented as 1, and negative classes must be represented as either -1 or 0.Lines beginning with the # character in the input file are ignored as comments. Additionally, anything after the # character in any line of the input file is also ignored as a comment.At least at the time of writing this, Auton Lab's software products do not seem to support the SSD format output file containing real numbered attribute values. This output therefore might not have any practical use.Cases that do not have any stated feature values are processed correctly.Very limited testing of the source code has been done. Moreover, there is a lot of room to optimize it, especially for conciseness. Requirements: ยท MATLAB Release: R2006b
Spardat2SSD is a Matlab script for Scientific/Engineering scripts design by Amit Belani. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Spardat2SSD - Convert a data file from spardat to SSD format.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5