English 中文(简体)
我想利用on子创建紧急矩阵
原标题:I want to create adjacency matrix using python
  • 时间:2010-04-14 13:13:50
  •  标签:
  • python

我的数据集非常大,几乎为450000条线和两行,即希望用平线计算应急矩阵,因为此前我曾试图在校正,而且由于数据价值大,它显示了记忆错误。 我的数据数值也从100开始,达到450000。

任何人都可以在这个问题上帮助我,因为我是新到的。

我必须先用Excel板或笔记本将档案输入平时,然后对紧急矩阵进行计算。

问题回答

如果我正确理解你的问题,那么你需要记忆比援助团能够多。 即便有虚拟记忆,你也可能不会分配一个大块。 因此,你的解决办法是,在你建立时,把紧急矩阵写到档案中。 这种方法将在MatLab或Azza进行。


假设你正在处理CAIDA s Pathr-level Topology Measures,因为格式似乎与你的说明相吻合。 该档案的每一行都载有从一名IP路由器(栏1)到另一条(栏2)。 192244年节点的完整紧急矩阵将需要4.3 英镑,假定你只使用单一比值。 我仍然建议直接将矩阵编成档案,而不是将其放在记忆中。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签