Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
cab24a57
Commit
cab24a57
authored
Apr 24, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the object name from BasicTransformations to Transformations
parent
3eaa1d7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/KnowledgeExtraction/Transformations.py
dream/KnowledgeExtraction/Transformations.py
+1
-1
No files found.
dream/KnowledgeExtraction/Transformations.py
View file @
cab24a57
...
@@ -26,7 +26,7 @@ Created on 14 Nov 2013
...
@@ -26,7 +26,7 @@ Created on 14 Nov 2013
import
rpy2.robjects
as
robjects
import
rpy2.robjects
as
robjects
#The BasicTransformations object
#The BasicTransformations object
class
Basic
Transformations
(
object
):
class
Transformations
(
object
):
# A variety of transformations are calculated in this object
# A variety of transformations are calculated in this object
def
sum
(
self
,
data
):
#calculates the sum of data sample
def
sum
(
self
,
data
):
#calculates the sum of data sample
data
=
robjects
.
FloatVector
(
data
)
##The given list changes into float vector in order to be handled by RPy2
data
=
robjects
.
FloatVector
(
data
)
##The given list changes into float vector in order to be handled by RPy2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment