cm=confusion_matrix([[10,20],[30,3]])
cm.set_classname(["Lion", "Tiger"]) # You can set the class name.cm.set_title("Lion or Tiger?") # You can set the title.
the input of the confusion_matrix must be two-dimensional array
Python list or numpy array are both allowed
You can set the name of the class and title.
define palette object
pset=palette(size=5, color="blue")
size = the quality and size of output confusion matrix image
color = the color of confusion matrix. (Now only blue is supported)
Squidpy is a tool for the analysis and visualization of spatial molecular data. It builds on top of scanpy and anndata, from which it inherits modularity and scalability. It provides analysis tools t
This is my favourite function - the Rastrigin function. What sparked my curiosity and interest in the function was its complexity in terms of many local optimum points, which makes it particularly in