This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
working_groups:ukurbangroup [2022/09/19 09:46] acriado |
working_groups:ukurbangroup [2022/09/23 09:10] (current) acriado |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ===== Visualization ===== | ===== Visualization ===== | ||
| - | At this point, it is recommended to follow the tutorial using the Rstudio program to visualize the different scripts. | + | It is recommended to follow the tutorial using the Rstudio program |
| + | |||
| + | To configure the Rstudio app and open it through your workstation, | ||
| + | |||
| + | * Create the file init_rstudio.sh and save it : | ||
| + | < | ||
| + | module load RStudio/ | ||
| + | module load R/ | ||
| + | rstudio & | ||
| + | </ | ||
| + | * Open the Rstudio application: | ||
| + | <code bash> | ||
| + | bash init_rstudio.sh | ||
| + | </ | ||
| + | |||
| + | To launch it in the workstation, | ||
| + | |||
| + | * Open your bashrc: | ||
| + | <code bash> | ||
| + | vi ~/.bashrc | ||
| + | </ | ||
| + | |||
| + | * Save the modules: | ||
| + | <code bash> | ||
| + | module load RStudio/ | ||
| + | module load R/ | ||
| + | </ | ||
| + | |||
| + | * Save your bashrc: | ||
| + | <code bash> | ||
| + | source ~/.bashrc | ||
| + | </ | ||
| + | * Launch the script: | ||
| + | <code bash> | ||
| + | Rscript [script] | ||
| + | </ | ||
| ===== First Steps : understanding the scripts ===== | ===== First Steps : understanding the scripts ===== | ||
| Line 45: | Line 80: | ||
| Now we are going to see what is and the implication of each of the items that have to be filled in the configuration file: | Now we are going to see what is and the implication of each of the items that have to be filled in the configuration file: | ||
| - | * **//UniversalKriging_path//** : (a folder path) \\ this will be the main folder, the one that is created after copying | + | * **//repository_path//** : (a folder path) \\ this would be the folder |
| - | * **// | + | |
| + | * **// | ||
| + | |||
| * **// | * **// | ||
| * **// | * **// | ||
| - | | + | |
| + | * **// | ||
| + | | ||
| * **// | * **// | ||
| Line 59: | Line 96: | ||
| * **// | * **// | ||
| * **// | * **// | ||
| - | | + | |
| - | * //cross//: If we want to apply the Leave-One-Out Cross-Validation, | + | - //cross//: If we want to apply the Leave-One-Out Cross-Validation, |
| - | * //UK_max// and // | + | - //UK_max// and // |
| - | * // | + | - // |
| - | * // | + | - // |
| Line 71: | Line 108: | ||
| As a resume, notice that the user only has to do the following about the configuration file: | As a resume, notice that the user only has to do the following about the configuration file: | ||
| - | * Choosing you own **//UniversalKriging_path//** and referring to it the path **//general//**. | + | * Choosing you own **//repository_path//** and **//UniversalKriging_path//**. |
| * Choosing one of the **// | * Choosing one of the **// | ||
| * Choosing the Universal Kriging mode in terms of the covariates, the application, | * Choosing the Universal Kriging mode in terms of the covariates, the application, | ||
| Line 116: | Line 153: | ||
| * //#SBATCH --time=48: | * //#SBATCH --time=48: | ||
| * //#SBATCH --time=01: | * //#SBATCH --time=01: | ||
| + | |||
| + | The user has to charge the model in the //bashrc// (referred to the machine): | ||
| + | * Open your bashrc: | ||
| + | <code bash> | ||
| + | vi ~/.bashrc | ||
| + | </ | ||
| + | |||
| + | * Save the modules: | ||
| + | <code bash> | ||
| + | module load R | ||
| + | </ | ||
| + | |||
| + | * Save your bashrc: | ||
| + | <code bash> | ||
| + | source ~/.bashrc | ||
| + | </ | ||
| + | |||
| To submit the job regarding this methodology, | To submit the job regarding this methodology, | ||