Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
valer1435 committed Dec 11, 2023
1 parent 19aee54 commit 9c7135d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/source/examples/classification_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ Fedot uses it's own data object notation (InputData). It contains index,
features and target for each sample. You can create it from file using ``InputData.from_dataframe()`` method.
You need to provide ``Task`` object with type of task you want to solve.
You also can find another ways of data passing in `this example <data>`.
.. code-block:: python

.. code-block:: python
from fedot.core.data.data import InputData
data_path = 'path_to_data'
data = InputData.from_dataframe(features_df,
target_df,
Expand All @@ -32,6 +31,7 @@ You also can find another ways of data passing in `this example <data>`.
* TaskTypesEnum.classification
* TaskTypesEnum.regression
* TaskTypesEnum.ts_forecasting

Initialize the FEDOT object and define the type of modeling problem. In this case, problem is ``classification``.
You also can define metric parameter (ROC-AUC in this example), timeout in minutes (in this example we limit fedot for 5 minutes).

Expand Down
4 changes: 2 additions & 2 deletions docs/source/examples/regression_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ to import certain object:
.. code-block:: python
from fedot import Fedot
Then we have to load data and split it on train and test set.
Fedot uses it's own data object notation (InputData). It contains index,
features and target for each sample. You can create it from file using ``InputData.from_dataframe()`` method.
You need to provide ``Task`` object with type of task you want to solve.
You also can find another ways of data passing in `this example <data>`.
.. code-block:: python

.. code-block:: python
from fedot.core.data.data import InputData
data_path = 'path_to_data'
data = InputData.from_dataframe(features_df,
target_df,
Expand Down

0 comments on commit 9c7135d

Please sign in to comment.