# HG changeset patch # User bgruening # Date 1378395629 14400 # Node ID a3edc97e056c0efd9583e88cf94f70769f0c729e # Parent 64a1fb09b10dda1fbd940b9ca61788295a968ce6 Uploaded diff -r 64a1fb09b10d -r a3edc97e056c EDeN_feature.xml --- a/EDeN_feature.xml Wed Sep 04 07:59:08 2013 -0400 +++ b/EDeN_feature.xml Thu Sep 05 11:40:29 2013 -0400 @@ -14,10 +14,10 @@ #set $temp_gspan = $temp_gspan.name #if $file_type_opts.file_type_opts_selector == 'sdf': - obabel -i sdf -o sdf $infile | python \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $temp_gspan + obabel -i sdf -o sdf $infile ---errorlevel 1 | python \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $temp_gspan #set $file_type = 'GRAPH' #elif $file_type_opts.file_type_opts_selector == 'smi': - obabel -i smi -o sdf $infile | python \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $temp_gspan + obabel -i smi -o sdf $infile ---errorlevel 1 | python \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $temp_gspan #set $file_type = 'GRAPH' #else: #set $temp_gspan = $infile @@ -48,7 +48,7 @@ $no_normalization $min_kernel - --kernel_type $kernel_type ##NSPDK | WDK | PBK | USPK | DDK | NSDDK | ANSDDK | SK [NSPDK] + --kernel_type $kernel_type_opts.kernel_type ##NSPDK | WDK | PBK | USPK | DDK | NSDDK | ANSDDK | SK [NSPDK] --graph_type $graph_type ##DIRECTED | UNDIRECTED [UNDIRECTED] #if $file_type_opts.file_type_opts_selector == 'SEQUENCE': @@ -60,9 +60,10 @@ #end if - --tree_lambda $tree_lambda - --radius_two $radius_two - + #if $kernel_type_opts.kernel_type in ['DDK','NSDDK','SK']: + --tree_lambda $kernel_type_opts.tree_lambda + --radius_two $kernel_type_opts.radius_two + #end if ### Adds rescaled features from nearest neighbors ### @@ -87,6 +88,12 @@ + + + @@ -113,85 +120,40 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -205,12 +167,7 @@ - - - - - - + diff -r 64a1fb09b10d -r a3edc97e056c EDeN_nearest_neighbor.xml --- a/EDeN_nearest_neighbor.xml Wed Sep 04 07:59:08 2013 -0400 +++ b/EDeN_nearest_neighbor.xml Thu Sep 05 11:40:29 2013 -0400 @@ -4,16 +4,30 @@ EDeN --action NEAREST_NEIGHBOR - + --input_data_file_name $infile + --target_file_name $target_infile + --file_type "SPARSE_VECTOR" --binary_file_type - --target_file_name $target_infile - ##--model_file_name [model] ???????????????????? + ### Adds rescaled features from nearest neighbors ### + + #if $smooth_opts.smooth_opts_selector == 'smooth': + --smooth + --smooth_param $smooth_opts.smoother_param - --kernel_type $kernel_type - --graph_type $graph_type + --row_index_file_name $row_index_file_name + --col_index_file_name $col_index_file_name + --num_hash_functions $smooth_opts.num_hash_functions + --num_repeat_hash_functions $smooth_opts.num_repeat_hash_functions + --max_size_bin $smooth_opts.max_size_bin + --eccess_neighbour_size_factor $smooth_opts.eccess_neighbour_size_factor + --num_nearest_neighbours $smooth_opts.num_nearest_neighbours + $smooth_opts.shared_neighborhood + $smooth_opts.no_neighborhood_cache + $smooth_opts.no_minhash_cache + #end if @@ -21,20 +35,7 @@ - - - - - - - - - - - - - - + diff -r 64a1fb09b10d -r a3edc97e056c EDeN_test.xml --- a/EDeN_test.xml Wed Sep 04 07:59:08 2013 -0400 +++ b/EDeN_test.xml Thu Sep 05 11:40:29 2013 -0400 @@ -4,38 +4,22 @@ EDeN --action TEST - - --input_data_file_name $infile - --model_file_name $model_outfile + + --input_data_file_name $sparse_vector_infile + --model_file_name $model_infile --file_type "SPARSE_VECTOR" --binary_file_type - --kernel_type $kernel_type - --graph_type $graph_type - - - - - - - - - - - - - - - - - + + - + diff -r 64a1fb09b10d -r a3edc97e056c EDeN_train.xml --- a/EDeN_train.xml Wed Sep 04 07:59:08 2013 -0400 +++ b/EDeN_train.xml Thu Sep 05 11:40:29 2013 -0400 @@ -16,7 +16,7 @@ --lambda $lambda ##??? notation? --epochs $epoch - + --sparsification_num_iterations $sparsification_num_iterations --topological_regularization_num_neighbors $topological_regularization_num_neighbors --topological_regularization_decay_rate $topological_regularization_decay_rate @@ -31,28 +31,35 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff -r 64a1fb09b10d -r a3edc97e056c eden_macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eden_macros.xml Thu Sep 05 11:40:29 2013 -0400 @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +