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
testng
mfc
electron
rsyslog
sqlite-net-extensions
react-redux
win32gui
swagger-ui
wheelnav.js
spring-tool-suite
moonmail
jsprit
vaadin7
facebook-page
angular-ui
aurigma
nhibernate-envers
firefox-webextensions
alpine
autocad-plugin
realex-payments-api
brunch
log4js-node
galsim
titanium-mobile
git-merge
theano.scan
elasticsearch-plugin
awt
gzipstream
azure-application-gateway
worksheet
sage-one
winscp-net
yii2-extension
tactic
boost-preprocessor
windows-mobile-6.5
arrow-keys
objective-c-swift-bridge
setuptools
elements
phishing
underscore.js-templating
skobbler-maps
disque
design-by-contract
cloudbees
javax.sound.midi
separator
execute
teamcity-8.0
graph-drawing
oberon
nsmutabledictionary
gui-test-framework
socketexception
sgen
aapt
funcunit
undefined-reference
dealloc
rtmfp
rabl
hungarian-algorithm
type-equivalence
wsdl-2.0
factory-method
frameset
objective-c-2.0
regsvr32
doh
self-extracting
ecl
gin
nintendo-ds
audio-capture
data-driven
procedural-music
caching-application-block

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