Questions tagged [graphlab]

GraphLab Create is a Python library, backed by a C++ engine, for quickly building large-scale, high-performance data products.

GraphLab Create is a Python library, backed by a C++ engine, for quickly building large-scale, high-performance data products. GraphLab Create has been renamed to Turi Create, more recent versions of which are open source.

Some key features of GraphLab Create are:

  • Analyze terabyte scale data at interactive speeds, on your desktop.
  • A Single platform for tabular data, graphs, text, and images.
  • State of the art machine learning algorithms including deep learning, boosted trees, and factorization machines.
  • Run the same code on your laptop or in a distributed system, using a Hadoop Yarn or EC2 cluster.
  • Focus on tasks or machine learning with the flexible API.
  • Easily deploy data products in the cloud using Predictive Services.
  • Visualize data for exploration and production monitoring.
223 questions
0
votes
2 answers

About Graphlab library importing

In Ubuntu 14.04, I have installed Graphlab based on https://dato.com/download/install-graphlab-create-command-line.html and it seems to be working fine. However, I receive this error when trying to use a recommender module: import graphlab from…
Yas
  • 811
  • 4
  • 11
  • 20
0
votes
2 answers

Importgraph lab hello world error

After installing GraphLab in my PC which is running Ubuntu 14.04, I have just encountered the following error in my first hello world program: import graphlab The Error: --------------------------------------------------------------------------- …
Yas
  • 811
  • 4
  • 11
  • 20
0
votes
2 answers

NetworkX to GraphLab Connected Component Conversion

What is the GraphLab equivalent to the following NetworkX code? for nodeset in nx.connected_components(G): In GraphLab, I would like to obtain a set of Vertex IDs for each connected component.
user2715877
  • 543
  • 1
  • 11
  • 22
0
votes
1 answer

How to convert date from unix timestamps to human readable format in graphlab (python 2.7)

I am working on large text file of 34gb. I have successfully parsed the file using the graphlab create. There is a column in the dataset about the date. The date is displayed in a unix timestamps. How can I convert a UNIX timestamp from the input…
0
votes
2 answers

Graphlab: How to avoid manually duplicating functions that has only a different string variable?

I imported my dataset with SFrame: products = graphlab.SFrame('amazon_baby.gl') products['word_count'] = graphlab.text_analytics.count_words(products['review']) I would like to do sentiment analysis on a set of words shown below: selected_words =…
drdot
  • 3,215
  • 9
  • 46
  • 81
0
votes
0 answers

Multiple label values support in graphlab.label_propagation.create

Below code tries to add 2 vertices with both vertices having multiple label values. Then tries to apply label_propagation on label "labelx" to the graph created. from graphlab import label_propagation from graphlab import SFrame, SGraph, Vertex,…
viva
  • 103
  • 2
  • 12
0
votes
2 answers

How are values sorted when using row.values() on an SFrame row?

How are the values sorted when I use row.values() in an graphlab.SFrame row? For example: import graphlab as gl x = gl.SFrame({'X200':[1,2,3], 'X100':[4,5,6], 'X1': [7,8,9]}) row = x[0] # first row print row.values() [out]: [ 7, 4, 1] So it seems…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
1 answer

What are the languages available for graphlab stopwords?

In graphlab, it's possible to retrieve a list of stopwords with: graphlab.text_analytics.stopwords(lang='en') But from the docs, there's no clear idea of which other languages do graphlab support:…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
1 answer

Saving Graphlab LDA model turns topics into gibberish?

Ok, this is just plain wacky. I think the problem may may have been introduced by a recent graphlab update, because I've never seen the issue before, but I'm not sure). Anyway, check this out: import graphlab as gl corpus =…
moustachio
  • 2,924
  • 3
  • 36
  • 68
0
votes
1 answer

Parsing columns lines with a single double quotations in Graphlab.SFrame

I have lines as such from this dataset (https://raw.githubusercontent.com/alvations/stasis/master/sts.csv): Dataset Domain Score Sent1 Sent2 STS2012-gold surprise.OnWN 5.000 render one language in another language restate (words) from…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
1 answer

Graphlab: add column with sum over different existing columns

I have an SFrame with multiple columns like 'measure1','measure2','measure3',.. I'd like to add a new column 'total_measure' with the totals of measure1 + measure2 + measure3 etc. I thought this would to the job:…
dsent
  • 305
  • 1
  • 3
  • 9
0
votes
1 answer

Appending data column from one SFrame to another SFrame

My training data train SFrame looks like this with 4 columns (the "Store" column is non-unique in this SFrame): +-------+------------+---------+-----------+ | Store | Date | Sales | Customers | +-------+------------+---------+-----------+ | …
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
1 answer

Use apply() to assign value to new column

I have a SArray called word_count in a SFrame called sf. Every row in the word_count SArray consists of a dict. I have an array called selected_words I am trying to loop through every column to see which of the words from "selected_words" appears in…
ustl
  • 1
  • 1
0
votes
1 answer

Installing error with graphlab in ubuntu

I have followed https://dato.com properly and installed graphlab, But when try to import graphlab in ipython it's not working still showing ImportError: No module named graphlab What's the Problem.
saimadhu.polamuri
  • 4,439
  • 2
  • 24
  • 21
0
votes
3 answers

Graphlab Date Manipulaiton

I have a dataset that I am trying to manipulate in GraphLab. I want to convert a UNIX Epoch timestamp from the input file (converted to an SFrame) into a human readable format so I can do analysis based on hour of day and day of week. time_array is…
1 2 3
14
15