Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:35:19+00:00 2026-05-29T09:35:19+00:00

Long story short, I’m creating a graph using networkx and the lower the weights

  • 0

Long story short, I’m creating a graph using networkx and the lower the weights between nodes(edges) the better.

My problem is pagerank doesn’t like getting a weight of zero and gives me an error. So I was thinking is there a number that is essentially zero in python but not exactly zero. Something like 0.0000000000001?

or if my approach is really horrible(which I suspect it might) is there another way to deal with this? Pagerank recussivily gets a score and then normalizes it against the entire dataset so scores tend to be very low as dataset gets larger(think 1/billion nodes).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:35:20+00:00Added an answer on May 29, 2026 at 9:35 am

    You can look at sys.float_info.min, the value of the minimum positive normalized float. On my system, this is 2.2250738585072014e-308.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Long story short, the database I'm using needs to get looked at. Until that
Long story short, client's hosting is using php 5.2.5 and i desperately need to
Long story short I am trying to replicate the Sleeping barber problem in Erlang.
Long story short, I'm using a buggy WordPress template and we're too far into
Long story short : when mapping XML, is it better to have complex types
I had a strange problem in one of our production databases. Long story short,
Long story short, I'm making a racing game in Java. I'm self-taught using some
Long story short, I need to sort an array of objects using usort, and
Long story short, I have a substantial Python application that, among other things, does
Long story short, we found files promoting prescription drugs on our server that we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.