Bug in NearestNeighborGraph
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
NearestNeighborGraph
generates incorrect output on rasterized input. Reported to Wolfram support CASE:4093797
$Version
11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
NearestNeighborGraph[Rasterize[Style[#, 20]] & /@ Alphabet, 2, VertexLabels -> Automatic]
Is there a workaround?
graphs-and-networks
add a comment |Â
up vote
1
down vote
favorite
NearestNeighborGraph
generates incorrect output on rasterized input. Reported to Wolfram support CASE:4093797
$Version
11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
NearestNeighborGraph[Rasterize[Style[#, 20]] & /@ Alphabet, 2, VertexLabels -> Automatic]
Is there a workaround?
graphs-and-networks
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
NearestNeighborGraph
generates incorrect output on rasterized input. Reported to Wolfram support CASE:4093797
$Version
11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
NearestNeighborGraph[Rasterize[Style[#, 20]] & /@ Alphabet, 2, VertexLabels -> Automatic]
Is there a workaround?
graphs-and-networks
NearestNeighborGraph
generates incorrect output on rasterized input. Reported to Wolfram support CASE:4093797
$Version
11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
NearestNeighborGraph[Rasterize[Style[#, 20]] & /@ Alphabet, 2, VertexLabels -> Automatic]
Is there a workaround?
graphs-and-networks
graphs-and-networks
edited 1 hour ago
Carl Woll
56.9k272147
56.9k272147
asked 1 hour ago
Rohit Namjoshi
916
916
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago
add a comment |Â
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Assuming you are asking for a workaround, you can generate the output you expect with:
v = Style[#,20]& /@ Alphabet;
rv = Rasterize/@v;
NearestNeighborGraph[
rv,
2,
VertexLabels->Thread@Rule[rv,v]
]
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Assuming you are asking for a workaround, you can generate the output you expect with:
v = Style[#,20]& /@ Alphabet;
rv = Rasterize/@v;
NearestNeighborGraph[
rv,
2,
VertexLabels->Thread@Rule[rv,v]
]
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
add a comment |Â
up vote
3
down vote
accepted
Assuming you are asking for a workaround, you can generate the output you expect with:
v = Style[#,20]& /@ Alphabet;
rv = Rasterize/@v;
NearestNeighborGraph[
rv,
2,
VertexLabels->Thread@Rule[rv,v]
]
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Assuming you are asking for a workaround, you can generate the output you expect with:
v = Style[#,20]& /@ Alphabet;
rv = Rasterize/@v;
NearestNeighborGraph[
rv,
2,
VertexLabels->Thread@Rule[rv,v]
]
Assuming you are asking for a workaround, you can generate the output you expect with:
v = Style[#,20]& /@ Alphabet;
rv = Rasterize/@v;
NearestNeighborGraph[
rv,
2,
VertexLabels->Thread@Rule[rv,v]
]
answered 1 hour ago
Carl Woll
56.9k272147
56.9k272147
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
add a comment |Â
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
Perfect, thanks!
â Rohit Namjoshi
49 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f181940%2fbug-in-nearestneighborgraph%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
This is a questions and answers site. What exactly is your question?
â Szabolcs
1 hour ago