graphlab


Missing data in SFrame


I'm trying to use graphlab.linear_regression.create and I get an error that I have missing data in the column I am using to predict my model and it says to use dropna to fix the problem. I use dropna but it doesn't get rid of any of the rows missing values. I am typing ti_train.dropna() to try and drop the missing data and age_model = graphlab.linear_regression.create(ti_train, target='Survived', features=['Age'],validation_set=None) for my linear regression. I've also tried fillna with ti_train.fillna('Age', np.median(ti_train['Age'])). I got my data by reading a csv file into an SFrame. Thank you
just executing this code won't modify your sframe (assuming you are running ipython notebook with sframe)
ti_train.fillna('Age', np.median(ti_train['Age']))
Have you tried this (LHS for modifying the sframe) and then try running regression
ti_train = ti_train.fillna('Age', np.median(ti_train['Age']))

Related Links

SFrame Eats all RAM and crashes
GraphLab Create crashing kernel running item_similarity_recommender on large dataset
IOError when uploading the data
Graphlab - How to set the number of trees parameter in random forest classifier
Missing data in SFrame
Graphlab commercial license
Swapping Values in an SFrame by Column
Graphlab sframe apply function not operating on more than 10 rows
GraphLab Create creates (gl-env) icons that do not function
GraphLab Create Launcher Installation Error Windows: There was an error creating the “gl-env” conda environment
Error updating GraphLab Create dependencies: AttributeError: 'module' object has no attribute 'get_dependencies'
Can't run graphlab.get_dependencies()
Graphlab Create setup error: graphlab.get_dependencies() results in BadZipFile error
calculating the root mean squared value and the average in graphlab
How can I use `apply` with a function that takes multiple inputs
How to add 2 or more kinds of Vertices into SGraph in GraphLab Create?

Categories

HOME
date
deezer
google-api-php-client
syntax
alfresco
react-redux
tizen-web-app
cakephp-2.5
yum
iggrid
quickbooks
event-handling
ibm-odm
zebra-printers
foselasticabundle
highlight.js
saxon
transformation
text-rendering
swingx
autocad-plugin
sylius
accessor
php-openssl
sqlcipher
one-to-many
su
facet
.net-4.0
winrt-xaml-toolkit
vsts-build-task
phpfreechat
force-layout
mpmediaquery
bower-install
git-merge
hockeyapp
service-discovery
reportbuilder
turbogears
checkboxlist
eclipse-gef
jedis
worksheet
rdfs
nativeapplication
snmptrapd
google-perftools
zendesk-app
sqldf
blacklist
login-control
transmitfile
simplewebrtc
make-install
hover-over
rhino-servicebus
system.management
phpcas
lib.web.mvc
lemon
sdhc
cyclomatic-complexity
appfabric-cache
operation
pretty-print
geonetwork
fscommand
operator-precedence
typekit
asp.net-web-api-odata
client-side-templating
titanium-modules
dealloc
stxxl
industrial
uv-mapping
dir
web2py-modules
quartz-graphics
flash-builder4.5
dataadapter
pushbackinputstream
bluepill
asyncfileupload
cufon
eclipse-templates
hirefire
infobox
django-tagging
table-footer
sortable-tables
dbal
database-management
meego
simpletest
zend-decorators
data-acquisition
lzh
caching-application-block
uiq3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App