---
title: "Comment by Webster Alex T on \"How to Create and Train a Machine Learning Model from Scratch\" | Hashnode"
description: "Hi. Because I’m really new at this. Having an issue and need to ask for help. I am getting this error from line accuracy = accuracy_score(y_test, x_test) ValueE"
url: "https://hashnode.com/posts/how-to-create-and-train-a-machine-learning-model-from-scratch/66dec04270ba3c6bf865b069/comment/66e52c53a5056b645322aa31"
---

[Discussion](https://hashnode.com/posts/how-to-create-and-train-a-machine-learning-model-from-scratch/66dec04270ba3c6bf865b069)

Comment [How to Create and Train a Machine Learning Model from Scratch](https://hashnode.com/posts/how-to-create-and-train-a-machine-learning-model-from-scratch/66dec04270ba3c6bf865b069)

[Webster Alex T](https://hashnode.com/@Alex0116)

[Sep 14, 2024](https://hashnode.com/posts/how-to-create-and-train-a-machine-learning-model-from-scratch/66dec04270ba3c6bf865b069/comment/66e52c53a5056b645322aa31)

Hi. Because I’m really new at this. Having an issue and need to ask for help. I am getting this error from line

accuracy = accuracy\_score(y\_test, x\_test)

ValueError: Classification metrics can’t handle a mix of multiclass and continuous-multioutput targets

Any help is appreciated. Alex.
