i'm playing around with a lot of nodes and i really like neo4j! but i couldn't figure out how i export my embedded graph to a gml or similar standard graph file to visualise it in a third party app.
Do you have any example code for me?
thanks in advance!
jörn
You should check out saveGML method of Gremlin(a graph traversal language)
You can see an example of that via REST at http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-load-a-sample-graph, in that case importing GML.
Related
I've recently began working with tensorflow.js. I've reached a point where I need to one hot encode an output. I found nothing searching the tensorflow.js api (tensorflow api has exactly what i'm searching for as a utility but I'm using javascript) regarding to my case and the only help I found from google is python/keras to_categorical().
I want to know for sure from somebody that's been through this before with tensorflow.js because I'm about to implement my own function based on python/keras to_categorical() source code so, is there any similar util function that I can use to one hot encode straight from the tensorflow.js api?
Based on 4.Pi.n comment -> one-hot if anybody else doesn't know how to search the docs the right way.
Is there any solution to export data into SPSS (*.sav) files?
I have a web service with surveys, and result needed to be exported to different formats.
I cant find any solution for SPSS.
(in any language, free or non-free products - but need to execute on the server!)
I found a good library https://github.com/tiamo/spss.
It was updated, and works as a charm
I've just created a tool that produces real-time trafic data. I'd like to plot the results with here-api. I know that Here provides a trafic display api, but I can't figure out how to define my own datasource.
Thanks !
No, you can't. You've created a tool that has the same function HERE does. If you just want to plot traffic, try Google MyMaps. Maybe GIS platforms?
btw, how did you manage to collect traffic data for this tool?
I have some problems still do not understand and I need help.
In some web application like Facebook, when I type a word to find my friends or places, apps..., a suggestion list appear for me. I can traverse and choose one of them.
So I want to ask something:
Best or good tool, language or something like that to do this? I think it's jQuery. More options for me?
Which is a list item in the suggestion list called?
Where did these things from? I means: how can I create or take them? From database directly?
The answers are:
You can use jQuery coupled with a server side language that retrieve the data
Usually it's called suggestion list. These function is Google is called Google suggest
The data are retrieved from the database
I need to generate charts using JFreeChart and then export them to PDF using Apache PDFBOX. I don't want to use iText as it cannot be used in proprietary software.
I searched all over Google, but no luck! Has anyone done it?
Copy the OutputStream from your chosen writeChartAs*() method in ChartUtilities to the InputStream used to create a PDXObjectImage in AddImageToPDF. A typical copyStream() implementation is shown here.
Addendum: Alternatively, use piped streams to copy from output to input, as shown here and here.
You can try using JasperReports. They are a bit heavy, but working good.