Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts NetMenus 2.0
iScripts EasyIndex 1
ATN Site Builder 3.0
phpEnter 5.1.
IcrediBB Bulletin Board System 1.0
PHP MLM Software 2.0.1
GnuWin64 64
Deals and Discounts Website Script 1.0.2
Azizi search engine script PHP 4.1.10
Single Leg MLM 1.2.1
Eclipse Metrics plugin continued 1.3.8.20100730.001
Circle Fit (Taubin method) 1.0
Exlcart 2.0
OpenCV Delphi wrapper 1.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Probabilistic Replacement 1.0
File ID: 82727






Probabilistic Replacement 1.0
Download Probabilistic Replacement 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
Probabilistic Replacement 1.0 Description
Description: [X1,P1]=probreplace(X,P,X0,P0) returns the vectors X1 and P1 that are the values and probabilities such that for each value of input X it is probabilistically replaced by values of X0 with probability vector P0.

If sum(P0)<1 then 1-sum(P0) is the probability that specific value of X will be unchanged.

Example:
Given the values x=[1 3 5] with probability vector p=[.1 .6 .3]
Replace each value with either a [3, 8] with probability vector [.1 .2]
(with .7 chance of leaving the individual value unchanged)

[x1,p1]=probreplace([1 3 5],[.1 .6 .3],[3 8],[.1 .2])

Ouput:
x1=[1 3 5 8]
p1=[0.07 0.52 0.21 0.20]

License: Shareware

Related: Replace, unchanged, chance, leaving, x13d1, p13d007, ouput

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0



More Similar Code

This codes written for testing probabilistic voter introduced in
"Fault Masking By Probabilistic Voting" paper. It can be found
at http://arxiv.org/abs/0901.1181



This module integrates the Facelift Image Replacement (Flir) project into Drupal. It provides an administration page that allows you to define the jQuery selector(s) to replace text with images as well as what font to use. If anyone wants to jump...



This unit implements a replacement for Delphi's MessageDlg function, that uses a resource file instead of having the text hard-coded into the unit. This makes it very easy to translate the messages and use the MessageDlg functions within...



Python implementation of an adaptive replacement cache, as described in:

http://en.wikipedia.org/wiki/Adaptive_Replacement_Cache

Caveat: This may or may not be under patent by IBM, beware of putting it in production code. I...



Python replacement for java.util.Properties - handles unicode escapes



Python does not have case-insensitive string replacement built into the default string class. This class provides a method that allows you to do this.



For taking k random samples (with replacement) from a population, where k may be greater than len(population).



Included is a recipe for performing the Rabin-Miller probabilistic test for a composite witness. As provided by Paul Miller in the comments (not the Miller in Rabin-Miller), Rabin-Miller can only tell us if a value is definitely composite. In...



FancyForm is a powerful checkbox replacement script used to provide the ultimate flexibility in changing the appearance and function of HTML form elements.

It's easy to use and degrades gracefully on all older, non-supporting...



A simple Bayesian Network example for exact probabilistic inference using Pearl's message-passing algorithm on singly connected graphs.

User Review for Probabilistic Replacement
- required fields
     

Please enter text on the image