Skip to content

Multi-class classification problem #66

@stamatisvas

Description

@stamatisvas

I am using 3 clients to train a model using the following parameters in the clients:

data=./mydata1.csv
test_data=./mytest_data.csv
model_path=mymodel.model
n_parties=3
data_format=csv
n_features=11
objective=multi:softmax
mode=horizontal
partition=0
learning_rate=0.1
max_depth=6
n_trees=50
ip_address=192...

Everything in the training is working but when I am trying to predict, the model predicts only 0.0 while the labels are (0,1,2). I also tried with objective=multi:softprob but the same happened. Also, I tried both the python .predict function and the terminal i.e. /build/bin/FedTree-predict ./predict.conf but I am getting exactly the same results (only 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions