@@ -75,9 +75,10 @@ pip install blocksnet
7575
7676There are various extras to install:
7777
78- - ` ml ` - machine learning related packages (` torch ` , ` catboost ` , etc).
78+ - ` ml ` - machine learning related packages (` catboost ` , ` lightgmb ` etc).
79+ - ` torch ` - torch related packages (` torch ` , ` torch_geometric ` ).
7980- ` opt ` - optimization problem related packages (` optuna ` , ` pymoo ` ).
80- - ` full ` - all packages required by blocksnet methods (` ml ` + ` opt ` extras).
81+ - ` full ` - all packages required by blocksnet methods (` ml ` + ` torch ` + ` opt ` extras).
8182- ` ipynb ` - jupyter notebook visualization packages (` matplotlib ` , etc).
8283- ` tests ` (DEVELOPMENT ONLY) - pytest related packages.
8384- ` docs ` (DEVELOPMENT ONLY) - sphinx documentation related packages.
@@ -162,7 +163,7 @@ The repository includes the following directories and modules:
162163 - [ ` blocks ` ] ( blocksnet/blocks ) - methods to generate, aggregate and process urban blocks.
163164 - [ ` config ` ] ( blocksnet/config ) - config to handle logging and meta information (service types, land use relations, etc).
164165 - [ ` enums ` ] ( blocksnet/enums ) - enums used within the code base.
165- - [ ` machine_learning ` ] ( blocksnet/machine_learning ) - machine learning strategies for different packages. Requires ` ml ` extra ( ` pip install blocksnet[ml] ` ).
166+ - [ ` machine_learning ` ] ( blocksnet/machine_learning ) - machine learning strategies for different packages. Requires ` ml ` and ` torch ` (optional) extras ( ` pip install blocksnet[ml,torch ] ` ).
166167 - [ ` optimization ` ] ( blocksnet/optimization ) - optimization related methods. Requires the ` opt ` extra (` pip install blocksnet[opt] ` ).
167168 - [ ` preprocessing ` ] ( blocksnet/preprocessing ) - data imputing and preprocessing.
168169 - [ ` relations ` ] ( blocksnet/relations ) - methods to handle network graphs and accessibility matrices.
0 commit comments