Add guide for R#38
Conversation
|
|
||
| If requests mostly involve compute-heavy operations (e.g. matrix multiplications, as opposed to fetching data from online databases), it is recommended to limit the number of parallel requests to number of threads or to number of physical cores in the machine, as otherwise requests will compete for resources and this will cause slowdowns and decreased throughput. Likewise, If using [Kubernetes](https://kubernetes.io) (also known as 'k8s'), avoid allocating less than a full CPU core to a compute-heavy pod, and avoid fractional core allocations. | ||
|
|
||
| ## Data frame operations |
There was a problem hiding this comment.
For this section, is it possible to provide a summary/compact recommendation table/decision table (example - data size, operation type, memory constraints) that will help answer "which one should I pick?"
There was a problem hiding this comment.
Added a table based on operation type. For data size, it'd be quite hard to make recommendations like that, because it depends a lot more on what operations are done with that data.
| conda install -c conda-forge libblas=*=*mkl* liblapack=*=*mkl* | ||
| ``` | ||
|
|
||
| **It's highly recommended to install these from the conda-forge channel**, where uploads are performed directly by Intel and the most recent versions are always available, compared to the Anaconda channel. The miniforge distribution by default installs packages exclusively from the conda-forge channel, and as such might be a more desirable choice than others. |
There was a problem hiding this comment.
Will it help to provide links to conda-forge channel here?
There was a problem hiding this comment.
No, channels don't have 'links' like that. They are just indexes. There's general pages like this:
https://conda-forge.org
But I don't think they are relevant here.
|
|
||
| Those sparse objects will be accepted as input by many modeling-related packages, such as `glmnet`, `xgboost`, `ranger`, `rsparse` and others, which have routines to operate efficiently on them. | ||
|
|
||
| As a general rule, sparse representations only start being advantageous when the number of non-zeros in the data is less than 10%, but the exact threshold at which switching is optimal can vary a lot by use-case. If the amount of non-zeros is less than 1% however, it is very unlikely that a regular dense data representation would be more efficient when a sparse format is supported. |
There was a problem hiding this comment.
Please fix following typos -
modifyin → modifying — line 3
environmnet → environment — line 86
sytem (in “sytem level”) → system — line 118
onMKL → oneMKL — line 122
apriori → a priori — line 159
PlumbeR → plumber — line 268
constitude → constitute — line 270
There was a problem hiding this comment.
Fixed, but:
- There's no typo in line 3.
- PlumbeR is how the authors named the library being referenced.
Adds a guide for optimizing R workflows.