---
title: "Discussion on \"Check Dataset is Linear or not for ML\" | Hashnode"
description: "Discussion on \"Check Dataset is Linear or not for ML\". In Machine learning knowing the type of dataset is very important. Because our model selection depend on the type of dataset. There will be two type of dataset \n\nLinear Dataset: If X(features) and Y(target)  form the data set can be divide by a strai..."
url: "https://hashnode.com/posts/check-dataset-is-linear-or-not-for-ml/5ded4b50b6829d7f1423a442"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Check Dataset is Linear or not for ML](https://biplab.hashnode.dev/check-dataset-is-linear-or-not-for-ml?utm_source=hashnode&utm_medium=feed)

In Machine learning knowing the type of dataset is very important. Because our model selection depend on the type of dataset. There will be two type of dataset Linear Dataset: If X(features) and Y(target) form the data set can be divide by a strai...

Dec 8, 2019 · biplab.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#til](https://hashnode.com/tag/til)

## Written by

[Biplab Malakar](https://hashnode.com/@BIPLAB)

@BIPLAB · Agartala, Tripura

  
[View profile](https://hashnode.com/@BIPLAB)

Senior Software Engineer, JavaScript Developer, MEAN Developer, Node.js Developer, MERN Developer, Hybrid Mobile App Developer and ML Develo

I like to solve problems using JavaScript.

## Responses 1

Markdown supported · ⌘↵ to post

[Mervej Raj](https://hashnode.com/@KnobleKnight)

[Dec 10, 2019](https://hashnode.com/posts/check-dataset-is-linear-or-not-for-ml/5ded4b50b6829d7f1423a442/comment/5def359c9d1e156f48e33b72)

What should be the r2\_score to denote its linear or not??

[Biplab Malakar](https://hashnode.com/@BIPLAB)

[Dec 10, 2019](https://hashnode.com/posts/check-dataset-is-linear-or-not-for-ml/5ded4b50b6829d7f1423a442/comment/5def359c9d1e156f48e33b72#reply-5def4415ca954f7448bba949)

I am not sure. Actually r2\_score defined the accuracy. So if accuracy is very low then its denote linear model is not fit for this data.

Normally I consider 50%, if r2\_score less then 50% means not-linear and for non-linear r2\_score can go negative.
