Skip to content

Commit

Permalink
Update eis_toolkit/deep_learning/mlp_function.py
Browse files Browse the repository at this point in the history
tha' s ok to me

Co-authored-by: Niko Aarnio <[email protected]>
  • Loading branch information
zelioluca and nmaarnio authored Oct 26, 2023
1 parent 9fcf984 commit 498a8b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eis_toolkit/deep_learning/mlp_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ def train_evaluate_predict_with_mlp(
alpha: floating point represent regularization.
hidden_layer_sizes: It represents the number of neurons in the ith hidden layer.
random_state: random state for repeatability of results.
Return:
a numpy array with prediction (class if is_class_probability is set to false otherwise it return probability).
A Numpy array with prediction (class if is_class_probability is set to false otherwise it return probability).
Raises:
InvalidDatasetException: When the dataset is None.
InvalidArgumentTypeException when the function try to make probability and the threshold is None.
Expand Down

0 comments on commit 498a8b4

Please sign in to comment.