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
2
votes
1 answer

Graphlab sframe - Is there a way I can transpose an sframe?

I am using sframes from graphlab library. I need to do a few computations row wise. Also, the sframe structure would make more sense in my case if I was able to transpose the sframe. Is there a way I can do that? Or is it possible in any other data…
Dreams
  • 5,854
  • 9
  • 48
  • 71
2
votes
2 answers

graphlab not showing column image

I have a image column in a SFrame along with an image_array column. when I do sframe['image'].show() instead of showing the actual images it shows summary of the image column along with value,count and percent. How should I show the actual image…
Prashant Bhanarkar
  • 930
  • 3
  • 14
  • 32
2
votes
1 answer

How can one replace missing values with median or mode in SFrame?

I'm going through the Graphlab documentation and I am trying to figure out how to duplicate the pandas functionality were na values are replaced by the median, the mean, or the mode, etc... In pandas you simply do this by: df.dropna().median() or…
Alex Kinman
  • 2,437
  • 8
  • 32
  • 51
2
votes
3 answers

graphlab find all the columns that has at least one None value

How should one find all the columns in SFrame that has at least one None value in it? One way to do this would be to iterate through every column and check if any value in that column is None or not. Is there a better way to do the job?
Prashant Bhanarkar
  • 930
  • 3
  • 14
  • 32
2
votes
1 answer

Error in graphlab.SFrame('home_data.gl/')

I am doing Machine Learning Course from Coursera by University of Washington. In which I am using iPython's graphlab. During practise when I execute below command: sales = graphlab.SFrame('home_data.gl/') I am getting the error: InvalidProductKey …
Lok
  • 129
  • 1
  • 2
  • 13
2
votes
1 answer

graphlab create sframe combine two column

I have two columns with strings. let's say col1 and col2 now how can we combine the content of col1 and col2 into col3 with graphlab SFrame? col1 col2 23 33 42 11 ........ into col3 23,33 42,11 .... unstack will only give sarray or dict,…
ikel
  • 1,790
  • 6
  • 31
  • 61
2
votes
2 answers

SFrames: Converting str to int or float

I am starting to learn SFrames data structure lately. I wonder if anyone experienced the problem of converting a "str" column to "float" or "int" column. In R, I could easily accomplish the task by as.numeric() or as.integer(). How could I do that…
Ying Haw Lee
  • 99
  • 3
  • 6
2
votes
2 answers

Iphyton Notebook AttributeError: 'thread._local' object has no attribute 'hooks'

sf['age'].show(view='Numeric') --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in () ----> 1…
Anurag Misra
  • 1,516
  • 18
  • 24
2
votes
0 answers

GraphLab - How does FactorizationRecommender.predict precisely work?

I have a question with regard to the predict function of the FactorizationRecommender. At my disposal, I have a large dataset with user item pairs (and a binary rating for each pair). Important to note is that users have not interacted with all…
Tomas
  • 315
  • 1
  • 3
  • 13
2
votes
2 answers

convert an sframe column to a list

I need to convert an SFrame column to a list. input : `+---------+ | word | +---------+ | love | | loves | | easy | | perfect | | great | +---------+` output: ['love', 'loves', 'easy', 'perfect', 'great']
2
votes
1 answer

Is there a graphlab equivalent to df.irow?

I need to pick out a few rows in my sframe by index. Is there an equivalent graphlab command to pandas df.irow()?
user3600497
  • 1,621
  • 1
  • 18
  • 22
2
votes
1 answer

Merging median from one column by a key column - SFrame / Pandas

In graphlab, I have the following SFrame call train: import graphlab train = graphlab.read_csv('clean_train.csv') train.head() [out]: +-------+------------+---------+-----------+ | Store | Date | Sales | Customers…
alvas
  • 115,346
  • 109
  • 446
  • 738
2
votes
0 answers

GraphLab Create with SFrame: Memory error

I'm trying to make an SFrame to analyze a folder 'amazon_baby.gl' with product reviews information for sentiment analysis. The folder is only about 40MB big and I have about a GB in memory. Yet I get an…
Anshu Dwibhashi
  • 4,617
  • 3
  • 28
  • 59
2
votes
0 answers

Unicode ImportError using graphlab with Enthought iPython

I am trying to use GraphLab Create with Enthought Canopy iPython but I'm getting an ImportError that seems to be related to unicode. The line is: ImportError:…
1
vote
1 answer

PackagesNotFoundError: The following packages are not available from current channels: - ipython-notebook

I'm new to Anaconda and Python. I have set up a virtual environment in Anaconda named "gl-env". gl-env Python version has set to 2.7 pip version is set to 9.0.1 I am doing a assignment which requires it to run Jupyter notebook in this…