Code Monkey home page Code Monkey logo

Comments (7)

adraismawur avatar adraismawur commented on August 12, 2024

Hi!

This is a warning from scikit-learn telling you that the affinity propagation could not settle on clusters and labels (it never converges to consistent clusters).
This should just remain a warning, but some versions of scikit-learn end up returning invalid cluster centers and labels.

Does the rest of the process still complete? And which version of Scikit-learn are you using?

from big-scape.

yuezhiTang avatar yuezhiTang commented on August 12, 2024

Hi!

This is a warning from scikit-learn telling you that the affinity propagation could not settle on clusters and labels (it never converges to consistent clusters). This should just remain a warning, but some versions of scikit-learn end up returning invalid cluster centers and labels.

Does the rest of the process still complete? And which version of Scikit-learn are you using?

Thank you for your reply. When my nohup.out file reports this information, bigscape has already stopped running and will not continue. I have tried deleting the file or giving a new output directory to restart bigscape, but it always stops at this step. The version of scikit-learn I am using is 1.3.0. Additionally, I would like to ask: how is the visualization done for the results obtained from other smaller datasets that I have successfully completed with bigscape? When I open the xx.html webpage file generated by the bigscape task, it seems that the images mentioned in the literature are not present. The results processed with other visualization software do not meet my expectations.

from big-scape.

adraismawur avatar adraismawur commented on August 12, 2024

Hello,

Could you try using scikit-learn version 0.19.2?

Regarding the visualizations, what images are you referring to exactly? BiG-SCAPE generates image files under [output_folder]/SVG for each BGC.

from big-scape.

yuezhiTang avatar yuezhiTang commented on August 12, 2024

Hello,

Could you try using scikit-learn version 0.19.2?

Regarding the visualizations, what images are you referring to exactly? BiG-SCAPE generates image files under [output_folder]/SVG for each BGC.

Thank you for your suggestion. I'll go back and try it out. The visualization I am referring to refers to the results of the gene cluster family obtained after the bigscape operation, which allows for a clearer view of which BGCs are concentrated in a cluster due to their similarity. From the literature I have seen related to bigscape, it seems that the visualization of gene cluster clustering can be directly obtained from bigscape?

from big-scape.

CatarinaCarolina avatar CatarinaCarolina commented on August 12, 2024

Hi!

So an svg from each GCF tree can be downloaded from its GCF page on the html. it is generated 'there on the fly'.
(svgs from each BGC can be found in the [output_folder]/SVG for each BGC).
The BiG-SCAPE CORASON publication also features BGC trees generated by CORASON, perhaps that is also what you are looking for?

Alternatively if you are referring to the network clustering, BiG-SCAPE doesnt produce svgs for this but you will want to load the network file ([output_folder]/network_files/run_id/class_id/file.network) into a tool such as cytoscape to visualise, edit and export the network in a image file format of your choice.

from big-scape.

yuezhiTang avatar yuezhiTang commented on August 12, 2024

Hi!

So an svg from each GCF tree can be downloaded from its GCF page on the html. it is generated 'there on the fly'. (svgs from each BGC can be found in the [output_folder]/SVG for each BGC). The BiG-SCAPE CORASON publication also features BGC trees generated by CORASON, perhaps that is also what you are looking for?

Alternatively if you are referring to the network clustering, BiG-SCAPE doesnt produce svgs for this but you will want to load the network file ([output_folder]/network_files/run_id/class_id/file.network) into a tool such as cytoscape to visualise, edit and export the network in a image file format of your choice.

Thank you for your help. I should be able to solve the problem now.

from big-scape.

adraismawur avatar adraismawur commented on August 12, 2024

Closing this issue, but don't hesitate to re-open if you continue to have issues with the affinity propagation!

from big-scape.

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.