Comments (7)
I think that's not the fault of ISpark.
I think if you compile the code and submit you will get the same message.
from ispark.
The problem does not exist on Zeppelin, though.
from ispark.
I probably encounter it somewhere else before, could you try:
@transient val tf = new HashingTF(numFeatures = 10000)
and let me know the result
?
from ispark.
I tried with the @transient, but I'm getting the same error.
Would you need extra info about my configuration? I can post my ipython_config.py if you want.
from ispark.
I've tested again on the latest build and didn't see this problem, it may be a bug on 1.3.0 but was resolved 0.0.1 later, I'll upload the latest jar tomorrow.
from ispark.
New jar and source code uploaded. Please use the following code to test:
import org.apache.spark.mllib.feature.HashingTF
val text ="Apache Spark is an open-source cluster computing framework originally developed in the AMPLab at UC Berkeley. In contrast to Hadoop's two-stage disk-based MapReduce paradigm, Spark's in-memory primitives provide performance up to 100 times faster for certain applications.[1] By allowing user programs to load data into a cluster's memory and query it repeatedly, Spark is well suited to machine learning algorithms.[2]"
val spamText = sc.parallelize(text.split("[.,]"))
val tf = new HashingTF(numFeatures = 10000)
val spamFeatures = spamText.map(email => tf.transform(email.split(" ")))
spamFeatures.count()
case closed
from ispark.
Thank you for the quick fix.
from ispark.
Related Issues (20)
- Unrecognized option error HOT 9
- Illegal character in path in ISpark jar file HOT 18
- IPython3 error:'interp' is not a recognized option HOT 8
- ClassNotFoundException with class, defined in notebook HOT 3
- Autocomplete is not working HOT 6
- Shift + Tab operation not works in IPython 3.x HOT 5
- Scala syntax highlights in the ipython 3.1.0-cbccb68 HOT 6
- Printing variable value in notebook when I set value to a variable HOT 5
- Compare and contrast to spark-notebook and Zeppelin HOT 2
- No such method error
- Can't compile against 2.11 & 1.4.0 HOT 2
- Can not Completer in spark1.4.0
- port to jupyter-scala
- Kernel restart issue HOT 3
- Question about macro in JsonImpl
- Java Issue when run ipython HOT 5
- problem with private[spark] functions? HOT 7
- Updgrade to Spark 1.3.0 HOT 10
- Support running on yarn cluster HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ispark.