Questions tagged [stellargraph]

23 questions
0
votes
2 answers

How to add new edges to the stellargraph dataset?

I need to add some extra edges to Cora dataset using stellargraph. Is there ane way to add edges to the current dataset in stellargraph library? import stellargraph as sg dataset = sg.datasets.Cora() For example in NetworkX, we can add some edges…
csperson
  • 901
  • 3
  • 12
  • 17
0
votes
1 answer

Stellargraph failing to work with data shuffle

when I ran the StellarGraph's demo on graph classification using DGCNNs, I got the same result as in the demo. However, when I tested what happens when I first shuffle the data using the following code: shuffler = list(zip(graphs,…
nir shahar
  • 328
  • 3
  • 13
0
votes
1 answer

TensorFlow - cannot cast string to float error?

I tried running an example from stellargraph's examples, but I encountered a weird error: tensorflow/core/framework/op_kernel.cc:1744] OP_REQUIRES failed at cast_op.cc:121 : Unimplemented: Cast string to float is not supported The example code I…
nir shahar
  • 328
  • 3
  • 13
0
votes
1 answer

Why did Stellargraph could install when I updated pip?

I tried to install stellargraph in a Python 3.6.13 venv. It threw the following error: Then I ran pip install --upgrade pip and re-ran the installation. It worked. I want to understand why upgrading pip was the game changer. The error related to…
D_Serg
  • 464
  • 2
  • 12
0
votes
1 answer

Node features in dataframe to networkx list of graphs

I have a list of networkx graphs. I have a dataframe with the following info: Out[91]: ln ln2 0 [[67, 1], [67, 1], [67, 1], [67, 1], [67, 1],…
user13110231
0
votes
2 answers

List of letters, change to list with numbers and letters

If i have a list of letters: Out[30]: LN 0 [C, C, C, C, C, C, G, I, O, P, P, P, R, R, R, ... 1 [C, C, C, C, C, C, G, I, O, P, P, P, R, R, R, ... 2 [C, C, C, C, C, C, G, I, O, P,…
user13110231
0
votes
0 answers

Is there any manual install for stellargraph?

I am trying to install stellargraph without pip or conda. Is it possible to do that? Please advise other options to install other than pip or conda. https://pypi.org/project/stellargraph/ https://github.com/stellargraph/stellargraph Thanks.
Stella
  • 1,728
  • 5
  • 41
  • 95
-1
votes
1 answer

Letter number combo to float in python

def computefeatures(node_id): return [ord(node_id), len(node_id)] I am computing features for my node ids which are a combo of a letter and a number. ord will not work, is there another work around for this. my list is: ln0 Out[88]: 0 C1 1…
user13110231
1
2