Skip to content

Typo in learning.ipynb #1270

@IronLucario2012

Description

@IronLucario2012

In learning.ipynb, the attribute "attr_names" of the Dataset class is incorrectly spelled as "attrnames" in several places, which, when referenced in the code cells, causes an AttributeError as shown in the callback snipped below.

AttributeError                            Traceback (most recent call last)
Input In [7], in <cell line: 2>()
      1 print("attrs:", iris.attrs)
----> 2 print("attrnames (by default same as attrs):", iris.attrnames)
      3 print("target:", iris.target)
      4 print("inputs:", iris.inputs)

AttributeError: 'DataSet' object has no attribute 'attrnames'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy