view eden_macros.xml @ 6:7d49e315cb95 draft

Uploaded
author bgruening
date Thu, 05 Sep 2013 12:52:45 -0400
parents a3edc97e056c
children 59b3b6ce10bb
line wrap: on
line source

<macros>
    <macro name="input_smooth_conditional">
        <conditional name="smooth_opts">
            <param name="smooth_opts_selector" type="select" label="Adds rescaled features from nearest neighbors (--smooth)">
              <option value="non_smooth" selected="True">Disable smooth</option>
              <option value="smooth">Enable smooth</option>
            </param>
            <when value="non_smooth" />
            <when value="smooth">

                <param name="smoother_param" type="float" value="0.95" label="Scaling features from neighbors"
                    help="Features from neighbors are scaled by the kernel value to the power value assigned to this switch.">
                    <validator type="in_range" min="0.0" />
                </param>

                <param name="no_minhash_cache" type="boolean" label="Deactivate minhash cache" truevalue="--no_minhash_cache" falsevalue="" checked="false" />
                <param name="no_neighborhood_cache" type="boolean" label="Deactivate neighborhood cache" truevalue="-no_neighborhood_cache" falsevalue="" checked="false" />
                <param name="shared_neighborhood" type="boolean" label="Activate shared neighborhood" truevalue="--shared_neighborhood" falsevalue="" checked="false" />

                <param name="num_hash_functions" type="integer" value="400" label="Number of hash functions" help="">
                    <validator type="in_range" min="1" />
                </param>
                <param name="num_repeat_hash_functions" type="integer" value="10" label="Number of repeats for each hash functions" help="">
                    <validator type="in_range" min="1" />
                </param>
                <param name="max_size_bin" type="float" value="0.3" label="Maximum size of one bin" 
                    help="Expressed as the maximum fraction of the datset size. When a bin contains references to more instances than this quantity, the bin is erased. The ratio is that this featrue is common to too many instances and it is therefore not informative. Morover the runtimes become non sub-linear if a significant fraction of the dataset size has to be checked.">
                    <validator type="in_range" min="0.0" />
                </param>
                <param name="eccess_neighbour_size_factor" type="float" value="5.0" label="Access neighborhood size factor" 
                    help="Expressed as a multiplicative factor w.r.t. the neighborhood size required. It means that the approximate neighborhood query stops at the X most frequent instances, where X = eccess_neighbor_size_factor * neighborhood size.">
                    <validator type="in_range" min="0.0" />
                </param>
                <param name="num_nearest_neighbours" type="integer" value="10" label="Number of nearest neighbors" help="">
                    <validator type="in_range" min="1" />
                </param>

                <param name="row_index" type="text" size="30" label="Row indieces of your input file that should be converted" 
                    help="Specify a subset of your dataset by providing the row indieces that should be taken into account.">
                    <sanitizer>
                        <valid initial="string.digits">
                            <add value="," />
                            <add value="-" />
                            <add value=" " />
                        </valid>
                    </sanitizer>
                    <validator type="empty_field" message="You need to specify row indieces"/>
                </param>
                <param name="col_index" type="text" size="30" label="Column indieces of your input file that should be converted" 
                    help="Specify a subset of your dataset by providing the column indieces that should be taken into account.">
                    <sanitizer>
                        <valid initial="string.digits">
                            <add value="," />
                            <add value="-" />
                            <add value=" " />
                        </valid>
                    </sanitizer>
                    <validator type="empty_field" message="You need to specify column indieces"/>
                </param>
            </when>
        </conditional>
    </macro>
</macros>