Skip to content

Ch2: Hinton digram runs on 19x7 matrix not 20x7 #1

Description

@allaccountstaken

One loading data from excel, one takes 1 row as headers:
matrix = np.asarray((pd.read_excel('weight_matrix.xlsx')))
Thus resulting matrix is 19x7 not 20x7:
matrix.shape
I think you need to do this instead:
matrix = np.asarray((pd.read_excel('weight_matrix.xlsx', header=None)))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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