Date: Wed, 1 Feb 2006 15:02:49 +0100
Reply-To: Spousta Jan <JSpousta@CSAS.CZ>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Spousta Jan <JSpousta@CSAS.CZ>
Subject: ARFF files
Content-Type: text/plain; charset="us-ascii"
Hi All,
Has somebody experience with converting SPSS files into ARFF format? Do
you have scripts of syntaxes for this purpose?
A sample of an arff file:
@relation lymphography
@attribute 'lymphatics' { normal, arched, deformed, displaced}
@attribute 'block_of_affere' { no, yes}
@attribute 'bl_of_lymph_c' { no, yes}
@attribute 'bl_of_lymph_s' { no, yes}
@attribute 'by_pass' { no, yes}
@attribute 'extravasates' { no, yes}
@attribute 'regeneration_of' { no, yes}
@attribute 'early_uptake_in' { no, yes}
@attribute 'lym_nodes_dimin' integer
@attribute 'lym_nodes_enlar' integer
@attribute 'changes_in_lym' { bean, oval, round}
@attribute 'defect_in_node' { no, lacunar, lac_margin, lac_central}
@attribute 'changes_in_node' { no, lacunar, lac_margin, lac_central}
@attribute 'changes_in_stru' { no, grainy, drop_like, coarse, diluted,
reticular, stripped, faint}
@attribute 'special_forms' { no, chalices, vesicles}
@attribute 'dislocation_of' { no, yes}
@attribute 'exclusion_of_no' { no, yes}
@attribute 'no_of_nodes_in' integer
@attribute 'class' { normal, metastases, malign_lymph, fibrosis}
@data
arched,yes,no,no,no,no,no,yes,1,4,round,lac_central,lacunar,stripped,ves
icles,yes,yes,5,malign_lymph
displaced,yes,no,no,yes,yes,no,yes,1,3,round,lac_central,lacunar,diluted
,vesicles,yes,yes,3,malign_lymph
deformed,no,no,no,yes,yes,yes,no,3,1,bean,lacunar,no,diluted,vesicles,no
,no,7,fibrosis
arched,no,no,no,no,yes,no,yes,1,2,oval,lac_margin,lac_margin,drop_like,v
esicles,no,yes,1,malign_lymph
arched,no,no,no,no,no,no,no,1,2,round,lac_margin,lac_margin,faint,vesicl
es,no,no,1,metastases
arched,no,no,no,no,no,no,yes,1,2,oval,lac_central,lacunar,faint,vesicles
,yes,yes,3,malign_lymph
deformed,no,no,no,no,no,no,no,1,2,oval,lac_central,lacunar,faint,chalice
s,yes,yes,1,malign_lymph
deformed,no,no,no,no,no,no,yes,1,4,round,lac_margin,lac_central,diluted,
vesicles,yes,yes,3,malign_lymph
Greetings
Jan
|