514 lines
25 KiB
HTML
514 lines
25 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>mlpack: mlpack::data::Imputer< T, MapperType, StrategyType > Class Template Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="extra-stylesheet.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">mlpack
|
|
 <span id="projectnumber">master</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespacemlpack.html">mlpack</a></li><li class="navelem"><a class="el" href="namespacemlpack_1_1data.html">data</a></li><li class="navelem"><a class="el" href="classmlpack_1_1data_1_1Imputer.html">Imputer</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classmlpack_1_1data_1_1Imputer-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">mlpack::data::Imputer< T, MapperType, StrategyType > Class Template Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Given a dataset of a particular datatype, replace user-specified missing value with a variable dependent on the StrategyType and MapperType.
|
|
<a href="classmlpack_1_1data_1_1Imputer.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a162ba7834c4674bcbcc193b73eede4a8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a162ba7834c4674bcbcc193b73eede4a8">Imputer</a> (MapperType <a class="el" href="classmlpack_1_1data_1_1Imputer.html#a98b9eea48d1fa4b682b4d84c9bd1da80">mapper</a>, bool <a class="el" href="classmlpack_1_1data_1_1Imputer.html#a71d6c94fa2871236e02e60e7ae716022">columnMajor</a>=true)</td></tr>
|
|
<tr class="separator:a162ba7834c4674bcbcc193b73eede4a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5d0ecd5e11cafa015215fae2b0b4de00"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a5d0ecd5e11cafa015215fae2b0b4de00">Imputer</a> (MapperType <a class="el" href="classmlpack_1_1data_1_1Imputer.html#a98b9eea48d1fa4b682b4d84c9bd1da80">mapper</a>, StrategyType <a class="el" href="classmlpack_1_1data_1_1Imputer.html#a16ea32bd50408f3be4002174a1c5d86c">strategy</a>, bool <a class="el" href="classmlpack_1_1data_1_1Imputer.html#a71d6c94fa2871236e02e60e7ae716022">columnMajor</a>=true)</td></tr>
|
|
<tr class="separator:a5d0ecd5e11cafa015215fae2b0b4de00"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f136c82b8849201460c64425dfda3cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a6f136c82b8849201460c64425dfda3cd">Impute</a> (arma::Mat< T > &input, const <a class="el" href="bindings_2matlab_2CMakeLists_8txt.html#acb14fd14ddd837abe9630e0d8a43703b">std::string</a> &missingValue, const size_t dimension)</td></tr>
|
|
<tr class="memdesc:a6f136c82b8849201460c64425dfda3cd"><td class="mdescLeft"> </td><td class="mdescRight">Given an input dataset, replace missing values of a dimension with given imputation strategy. <a href="#a6f136c82b8849201460c64425dfda3cd">More...</a><br /></td></tr>
|
|
<tr class="separator:a6f136c82b8849201460c64425dfda3cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7437916cb5f28b7e83ceb78cebb3de14"><td class="memItemLeft" align="right" valign="top">const MapperType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a7437916cb5f28b7e83ceb78cebb3de14">Mapper</a> () const </td></tr>
|
|
<tr class="memdesc:a7437916cb5f28b7e83ceb78cebb3de14"><td class="mdescLeft"> </td><td class="mdescRight">Get the mapper. <a href="#a7437916cb5f28b7e83ceb78cebb3de14">More...</a><br /></td></tr>
|
|
<tr class="separator:a7437916cb5f28b7e83ceb78cebb3de14"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb095fe18e98ec5b953b91caf3f70471"><td class="memItemLeft" align="right" valign="top">MapperType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#aeb095fe18e98ec5b953b91caf3f70471">Mapper</a> ()</td></tr>
|
|
<tr class="memdesc:aeb095fe18e98ec5b953b91caf3f70471"><td class="mdescLeft"> </td><td class="mdescRight">Modify the given mapper (be careful!) <a href="#aeb095fe18e98ec5b953b91caf3f70471">More...</a><br /></td></tr>
|
|
<tr class="separator:aeb095fe18e98ec5b953b91caf3f70471"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6472e7d0fdc21042c207a2e8ea589e2a"><td class="memItemLeft" align="right" valign="top">const StrategyType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a6472e7d0fdc21042c207a2e8ea589e2a">Strategy</a> () const </td></tr>
|
|
<tr class="memdesc:a6472e7d0fdc21042c207a2e8ea589e2a"><td class="mdescLeft"> </td><td class="mdescRight">Get the strategy. <a href="#a6472e7d0fdc21042c207a2e8ea589e2a">More...</a><br /></td></tr>
|
|
<tr class="separator:a6472e7d0fdc21042c207a2e8ea589e2a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f6a75eb283ede9f2bdc4d1771cc5a18"><td class="memItemLeft" align="right" valign="top">StrategyType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a0f6a75eb283ede9f2bdc4d1771cc5a18">Strategy</a> ()</td></tr>
|
|
<tr class="memdesc:a0f6a75eb283ede9f2bdc4d1771cc5a18"><td class="mdescLeft"> </td><td class="mdescRight">Modify the given given strategy (be careful!) <a href="#a0f6a75eb283ede9f2bdc4d1771cc5a18">More...</a><br /></td></tr>
|
|
<tr class="separator:a0f6a75eb283ede9f2bdc4d1771cc5a18"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a71d6c94fa2871236e02e60e7ae716022"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a71d6c94fa2871236e02e60e7ae716022">columnMajor</a></td></tr>
|
|
<tr class="separator:a71d6c94fa2871236e02e60e7ae716022"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a98b9eea48d1fa4b682b4d84c9bd1da80"><td class="memItemLeft" align="right" valign="top">MapperType </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a98b9eea48d1fa4b682b4d84c9bd1da80">mapper</a></td></tr>
|
|
<tr class="separator:a98b9eea48d1fa4b682b4d84c9bd1da80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a16ea32bd50408f3be4002174a1c5d86c"><td class="memItemLeft" align="right" valign="top">StrategyType </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1data_1_1Imputer.html#a16ea32bd50408f3be4002174a1c5d86c">strategy</a></td></tr>
|
|
<tr class="separator:a16ea32bd50408f3be4002174a1c5d86c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><h3>template<typename T, typename MapperType, typename StrategyType><br />
|
|
class mlpack::data::Imputer< T, MapperType, StrategyType ></h3>
|
|
|
|
<p>Given a dataset of a particular datatype, replace user-specified missing value with a variable dependent on the StrategyType and MapperType. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Type of armadillo matrix used for imputation strategy. </td></tr>
|
|
<tr><td class="paramname">MapperType</td><td><a class="el" href="classmlpack_1_1data_1_1DatasetMapper.html" title="Auxiliary information for a dataset, including mappings to/from strings and the datatype of each dime...">DatasetMapper</a> that is used to hold dataset information. </td></tr>
|
|
<tr><td class="paramname">StrategyType</td><td>Imputation strategy used. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00033">33</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a162ba7834c4674bcbcc193b73eede4a8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::<a class="el" href="classmlpack_1_1data_1_1Imputer.html">Imputer</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">MapperType </td>
|
|
<td class="paramname"><em>mapper</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>columnMajor</em> = <code>true</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00036">36</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5d0ecd5e11cafa015215fae2b0b4de00"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::<a class="el" href="classmlpack_1_1data_1_1Imputer.html">Imputer</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">MapperType </td>
|
|
<td class="paramname"><em>mapper</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">StrategyType </td>
|
|
<td class="paramname"><em>strategy</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>columnMajor</em> = <code>true</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00043">43</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a6f136c82b8849201460c64425dfda3cd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::Impute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">arma::Mat< T > & </td>
|
|
<td class="paramname"><em>input</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="bindings_2matlab_2CMakeLists_8txt.html#acb14fd14ddd837abe9630e0d8a43703b">std::string</a> & </td>
|
|
<td class="paramname"><em>missingValue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t </td>
|
|
<td class="paramname"><em>dimension</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Given an input dataset, replace missing values of a dimension with given imputation strategy. </p>
|
|
<p>This function does not produce output matrix, but overwrites the result into the input matrix.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">input</td><td>Input dataset to apply imputation. missingValue User defined missing value; it can be anything. </td></tr>
|
|
<tr><td class="paramname">dimension</td><td>Dimension to apply the imputation. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00060">60</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>References <a class="el" href="imputer_8hpp_source.html#l00088">mlpack::data::Imputer< T, MapperType, StrategyType >::columnMajor</a>, <a class="el" href="imputer_8hpp_source.html#l00085">mlpack::data::Imputer< T, MapperType, StrategyType >::mapper</a>, and <a class="el" href="imputer_8hpp_source.html#l00082">mlpack::data::Imputer< T, MapperType, StrategyType >::strategy</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7437916cb5f28b7e83ceb78cebb3de14"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const MapperType& <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::Mapper </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the mapper. </p>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00075">75</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>References <a class="el" href="imputer_8hpp_source.html#l00085">mlpack::data::Imputer< T, MapperType, StrategyType >::mapper</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeb095fe18e98ec5b953b91caf3f70471"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">MapperType& <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::Mapper </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Modify the given mapper (be careful!) </p>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00078">78</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>References <a class="el" href="imputer_8hpp_source.html#l00085">mlpack::data::Imputer< T, MapperType, StrategyType >::mapper</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6472e7d0fdc21042c207a2e8ea589e2a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const StrategyType& <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::Strategy </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the strategy. </p>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00069">69</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>References <a class="el" href="imputer_8hpp_source.html#l00082">mlpack::data::Imputer< T, MapperType, StrategyType >::strategy</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0f6a75eb283ede9f2bdc4d1771cc5a18"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">StrategyType& <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::Strategy </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Modify the given given strategy (be careful!) </p>
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00072">72</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>References <a class="el" href="imputer_8hpp_source.html#l00082">mlpack::data::Imputer< T, MapperType, StrategyType >::strategy</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="a71d6c94fa2871236e02e60e7ae716022"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::columnMajor</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00088">88</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="imputer_8hpp_source.html#l00060">mlpack::data::Imputer< T, MapperType, StrategyType >::Impute()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a98b9eea48d1fa4b682b4d84c9bd1da80"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">MapperType <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::mapper</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00085">85</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="imputer_8hpp_source.html#l00060">mlpack::data::Imputer< T, MapperType, StrategyType >::Impute()</a>, and <a class="el" href="imputer_8hpp_source.html#l00075">mlpack::data::Imputer< T, MapperType, StrategyType >::Mapper()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a16ea32bd50408f3be4002174a1c5d86c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename MapperType , typename StrategyType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">StrategyType <a class="el" href="classmlpack_1_1data_1_1Imputer.html">mlpack::data::Imputer</a>< T, MapperType, StrategyType >::strategy</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="imputer_8hpp_source.html#l00082">82</a> of file <a class="el" href="imputer_8hpp_source.html">imputer.hpp</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="imputer_8hpp_source.html#l00060">mlpack::data::Imputer< T, MapperType, StrategyType >::Impute()</a>, and <a class="el" href="imputer_8hpp_source.html#l00069">mlpack::data::Imputer< T, MapperType, StrategyType >::Strategy()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/mlpack/core/data/<a class="el" href="imputer_8hpp_source.html">imputer.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
<script type="text/javascript">
|
|
var x = document.getElementsByClassName("formulaDsp");
|
|
var i;
|
|
for (i = 0; i < x.length; i++)
|
|
{
|
|
x[i].width /= 4;
|
|
}
|
|
</script>
|
|
</html>
|