Code Monkey home page Code Monkey logo

Comments (6)

nidhaloff avatar nidhaloff commented on July 20, 2024 1

@Anenizer Hi, the data that I used in the docs can be found in this repo. Please go to the examples folder and then check the datasets under the data folder. Or simply click here.

Now coming to your issue. Notice that there are multiple versions of the famous Indian-diabetes dataset. If you visit kaggel, you will find many version of it, each having different attributes/feature names. The one I'm using here has an attribute called sick, which indicates whether a patient sick or not (0 means not sick and 1 means sick). The trick is if you are using a dataset with other attribute names then you will have to provide what you want to predict in the target field inside the .yaml file. Simply put, if the name of the attribute in your dataset is let's say "patient-status" instead of sick, then you have to provide:

target:
     - patient-status

in your .yaml file. This way igel will recognize that you want to predict the patient-status from your dataset. Hope this was helpful ;)

from igel.

nidhaloff avatar nidhaloff commented on July 20, 2024 1

@Anenizer does this answer your question? if not feel free to re-open the issue or create a new one if you have other questions

from igel.

clausnizer-ondics avatar clausnizer-ondics commented on July 20, 2024 1

Yes, I now have a working example, this was my goal. Thank you very much!

from igel.

red-eyed-tree-frog avatar red-eyed-tree-frog commented on July 20, 2024

If I infer correctly you must first use some heuristic and categorise your data into sick / not sick. Maybe add a column called sick where 0 = not sick and 1 = sick? Your heuristic could be age > x and blood pressure > y then sick as a simplified example.

from igel.

clausnizer-ondics avatar clausnizer-ondics commented on July 20, 2024

Thanks for your help. If this will give me a working example it would be fine! :-)
I know how to add a column sick to the diabetes.csv but I have no Idea where to put the heuristic stuff. ;-)

Can you provide a step by step guide on how to do this?

from igel.

red-eyed-tree-frog avatar red-eyed-tree-frog commented on July 20, 2024

Actually I think the column you are looking for is 'outcome' not 'sick'. Use that as your target instead.

from igel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.