Skip to content

Bug in the clustering jupyter example #110

Closed
@giosilvi

Description

@giosilvi

In the following code in the clustering notebook example, at the first cell:

df['text-similarity-babbage-001'] = df.babbage_similarity.apply(eval).apply(np.array)
matrix = np.vstack(df.babbage_similarity.values)

the second line should be the following: matrix = np.vstack(df['text-similarity-babbage-001'].values)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions