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
12572444
Commit
12572444
authored
Apr 24, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the object name from HandleMissingValues to ReplaceMissingValues
parent
9878f5ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dream/KnowledgeExtraction/ReplaceMissingValues.py
dream/KnowledgeExtraction/ReplaceMissingValues.py
+2
-2
No files found.
dream/KnowledgeExtraction/ReplaceMissingValues.py
View file @
12572444
...
@@ -22,10 +22,10 @@ Created on 19 Feb 2014
...
@@ -22,10 +22,10 @@ Created on 19 Feb 2014
@author: Panos
@author: Panos
'''
'''
from
StatisticalMeasures
import
Basic
StatisticalMeasures
from
StatisticalMeasures
import
StatisticalMeasures
#The HandleMissingValues object
#The HandleMissingValues object
class
HandleMissingValues
(
Basic
StatisticalMeasures
):
class
ReplaceMissingValues
(
StatisticalMeasures
):
#Three different approaches to handle missing values are included in this object
#Three different approaches to handle missing values are included in this object
def
ReplaceWithZero
(
self
,
mylist
):
#Replace in the given list the missing values with zero
def
ReplaceWithZero
(
self
,
mylist
):
#Replace in the given list the missing values with zero
i
=
0
i
=
0
...
...
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