Skip to content

Commit

Permalink
Minor documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MStarmans91 committed Dec 1, 2023
1 parent 3d8aaa6 commit c0a036e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_
and this project adheres to `Semantic Versioning <http://semver.org/>`_


Unreleased
------------------



3.6.3 - 2023-08-15
------------------

Expand Down
10 changes: 6 additions & 4 deletions WORC/doc/static/user_manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,16 +265,18 @@ case, your sources should look as following:
Semantics or non-radiomics features
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Semantic features are non-computational features, thus features that you supply instead of extract. Examples include
using the age and sex of the patients in the classification. You can
using clinical features such as the age and sex of the patients in the classification. You can
supply these as a .csv listing your features per patient, similar to the :ref:`label file <um-labels>`. See
[the WORCTutorial Github repo](https://github.com/MStarmans91/WORCTutorial/tree/master/Data/Examplefiles) for an example file.

You can provide these sources either through the ``set_registration_parameterfile`` function of the facades,
by interacting with the ``BasicWORC`` ``elastix_parameter_file`` object, or the
``WORC`` ``Elastix_Para`` object. An example of the first option:
You can provide these sources either through the ``semantics_from_this_file`` function of the facades,
by interacting with the ``BasicWORC`` ``semantics_file_train`` or ``semantics_file_test`` objects, or the
same objects from the main ``WORC`` object. An example of the first option:

.. code-block:: python
network.semantics_from_this_file(file_path="semantic_features.csv", is_training=True)
Masks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit c0a036e

Please sign in to comment.