Giter Site home page Giter Site logo

Comments (2)

QueuQ avatar QueuQ commented on July 30, 2024

Thanks for pointing out this, now we have added a multipler in the input arguments of the function show_performance_matrices in the visualize.py. When visualizing the values between 0 and 1, users can specify the multiplier as 100.

CGLB/NCGL/visualize.py

Lines 40 to 53 in ed14a64

def show_performance_matrices(result_path, save_fig_name=None, multiplier=1.0):
"""
The function to visualize the performance matrix.
:param result_path: The path to the experimental result
:param save_fig_name: If specified, the generated visualization will be stored with the specified name under the directory "./results/figures"
"""
# visualize the acc matrices
print(result_path)
fig, ax = plt.subplots()
performance_matrices = pickle.load(open(result_path, 'rb'))
acc_matrix_mean = np.mean(performance_matrices, axis=0)
mask = np.tri(acc_matrix_mean.shape[0], k=-1).T
acc_matrix_mean = np.ma.array(acc_matrix_mean, mask=mask) * multiplier

from cglb.

WeiWeic6222848 avatar WeiWeic6222848 commented on July 30, 2024

thank you

from cglb.

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.