Skip to content

Instantly share code, notes, and snippets.

function svmStruct = best_svm_classifer_rbf(cdata,labels)
%Write a function called crossfun to calculate the predicted classification yfit from a test vector
%xtest, when the SVM is trained on a sample xtrain that has classification ytrain.
function yfit = crossfun(xtrain,ytrain,xtest, rbf_sigma, boxconstraint)
% Train the model on xtrain, ytrain,
% and get predictions of class of xtest and output it as yfit

Deploy Python app using Pandas on Heroku

2012-09-08

This document explains how to deploy a Python app that uses the Pandas library on Heroku.

Heroku builds Numpy (one of Pandas' requirements) fine. However, when trying to deploy an app with both numpy and pandas in its requirements.txt file (or even just pandas), for some reason it fails