Saturday, September 2, 2017

SVM Support Vector Machines

SVM Support Vector Machines



                                                  How To Workout SVM Algorithm


In machine learning, support vector machines (SVMs, also support vector networks) are supervised learning models with associated learning algorithms that analyze data and recognize patterns, used for classification and regression analysis. The basic SVM takes a set of input data and predicts, for each given input, which of two possible classes forms the output, making it a non-probabilistic binary linear classifier. Given a set of training examples, each marked as belonging to one of two categories, an SVM training algorithm builds a model that assigns new examples into one category or the other. An SVM model is a representation of the examples as points in space, mapped so that the examples of the separate categories are divided by a clear gap that is as wide as possible. New examples are then mapped into that same space and predicted to belong to a category based on which side of the gap they fall on.

More formally, a support vector machine constructs a hyper plane or set of hyper planes in a high- or infinite-dimensional space, which can be used for classification, regression, or other tasks. Intuitively, a good separation is achieved by the hyper plane that has the largest distance to the nearest training data point of any class (so-called functional margin), since in general the larger the margin the lower the generalization error of the classifier.


1.1 SVM Binary Classification Algorithm



Example 1:

   
Step 1:Normalize the given data by using the equation




                                                                                              

Step 2: Compute Augmented matrix   [A  -e]. ie Augment a "-1" column matrix to A.

         
                            


Step 3: Compute  H = D[A -e]
where D is a diagonal matrix with classes. here it is 1 and -1.

        D � [A  -e] = 



        HTH
                                              
               


Step 4 : Compute U = V �[I �H[I/V + HTH]-1 HT]�e

                Where I = Identity Matrix   
                                V = Order of HTH with value 0.1





Step 5: Find  w and gamma  = 0.                
                                                                                             
Step 6: Find w trans * X -gamma. Find for all features
  eg: X= Column_matrix{x,y}


           Result of SVM Traning


Step 7: Compare sign(wT*x -gama ) with the actual class label.
You can notice that 3rd , 5 th and 9 th class labels are misclassified.
ie
After Traning the dataset , the below datapoints

           5     9   falls in class label -1
           8     7   falls in class label -1
           and
           8     5   falls in class label 1.



Misclassification in 3 datapoints 3 rd 5 th and 9 th.
Acurracy is 70%.


download file now

Read more »

Stream Desktop with VLC

Stream Desktop with VLC


On the server computer, lauch VLC. Go to Media->streaming.
Go to Capture tag, select Desktop for Capture mode; pick up a right number for the frame rate.
Click Stream.
On the Stream Output page, check RTP, fill Address with the IP of the client computer.
In the Profile section, check MPEG-TS on Encapsulation tag; check video, select MPEG-4 ( or other codes, which have been installed on your computer) for Codec on Video codec tag; check Audio, select MP3 for Codec on Audio codec; click stream.

However, you cannot watch good video played on the desktop because the stream is produced in real time with compromised quality.

download file now

Read more »

Suportando o GameCube o Nintendo Switch pode dar várias segundas chances

Suportando o GameCube o Nintendo Switch pode dar várias segundas chances



O GameCube n�o figura entre os consoles mais populares da Nintendo no Brasil, isso uma vez que tinha de lidar com o PS2 e sua pirataria/uma biblioteca imensa de excelentes jogos. Com a fofoca de que o Nintendo Switch poder� emular jogos do GC, h� uma nova chance pra coisas que nos passaram batidas.
Post completo ?

download file now

Read more »

Switch keyboard layouts

Switch keyboard layouts


Alternative to panel tray plugins:
  1.  with a search/launch application like Synapse, Dash, etc
  2. as launchers in a dock or panel 

1. Use Synapse and similar.

The idea is to use the `setxkbmap` command, thus:

setxkbmap us

setxkbmap us intl

setxkbmap fr

setxkbmap ro std_cedilla

And put such commands in desktop files like:

[Desktop Entry]
Name=Keyboard US International dead Keys
Exec=setxkbmap us intl
Icon=path/to/some/icon/file
Terminal=false
Type=Application
Categories=Application;Utility;

Copying these file.desktop files in /usr/share/applications should make them searchable with launchers like Synapse, Unity Dash, Whisker Menu etc.

2. As launchers.

After creating desktop files as above they can be added (as for any other application) to a panel or dock as launchers.

If put all in a folder they can be stacked together in Plank dock.





download file now

Read more »

Super Bikes Riding Challenge PC RIP ENG Full Mediafire Download

Super Bikes Riding Challenge PC RIP ENG Full Mediafire Download


 Super Bikes Riding Challenge (PC/RIP/ENG) Full Mediafire Download

System requirements
OS: Windows XP/2000 with DirectX 9.0c
Ghaphic Card: 3D board with at least 64 MB of memory, compatible DirectX 9.0c
Sound Card: DirectX 9.0c compatible
CPU: Pentium III 800+ MHz
RAM: 256 MB
DVD-Rom Player: Required
HD Space: 1,60 GB
Windows Media Player 9 or later


Installation Game
Unrar All Parts
Start Setup From Free Arc From HerE
Enjoy the game
Screenshot :


http://adf.ly/7aCPJ
http://adf.ly/7aCU2
http://adf.ly/7aCVZ

Pass: mediafire-games4u

download file now

Read more »

Sword Art Online BD 21 23 Sub Indonesia

Sword Art Online BD 21 23 Sub Indonesia


 

Episode 21:
[tusfiles][sharebeast][mc]
 
Episode 22:
[tusfiles][sharebeast][solidfiles][mc]
 
Episode 23:
[tusfiles][sharebeast][solidfiles][mc]
 
 
Thanks To AWsubs


download file now

Read more »

Susan Rice requested to unmask names of Trump transition officials sources say

Susan Rice requested to unmask names of Trump transition officials sources say



Spicer Comments on Susan Rice Unmasking Controversy

Multiple sources tell Fox News that Susan Rice, former national security adviser under then-President Barack Obama, requested to unmask the names of Trump transition officials caught up in surveillance.

The unmasked names, of people associated with Donald Trump, were then sent to all those at the National Security Council, some at the Defense Department, then-Director of National Intelligence James Clapper and then-CIA Director John Brennan essentially, the officials at the top, including former Rice deputy Ben Rhodes.

The names were part of incidental electronic surveillance of candidate and President-elect Trump and people close to him, including family members, for up to a year before he took office.

It was not clear how Rice knew to ask for the names to be unmasked, but the question was being posed by the sources late Monday.

"What I know is this ... If the intelligence community professionals decide that theres some value, national security, foreign policy or otherwise in unmasking someone, they will grant those requests," former Obama State Department spokeswoman and Fox News contributor Marie Harf told Fox News" Martha MacCallum on "The First 100 Days. "And we have seen no evidence ... that there was partisan political notice behind this and we cant say that unless theres actual evidence to back that up."

White House Press Secretary Sean Spicer, asked about the revelations at Mondays briefing, declined to comment specifically on what role rice may have played or officials motives.

Im not going to comment on this any further until [congressional] committees have come to a conclusion, he said, while contrasting the medias alleged lack of interest in these revelations with the intense coverage of suspected Trump-Russia links.

When names of Americans are incidentally collected, they are supposed to be masked, meaning the name or names are redacted from reports whether it is international or domestic collection, unless it is an issue of national security, crime or if their security is threatened in any way. There are loopholes and ways to unmask through backchannels, but Americans are supposed to be protected from incidental collection. Sources told Fox News that in this case, they were not.

This comes in the wake of Evelyn Farkas television interview last month in which the former Obama deputy secretary of defense said in part: I was urging my former colleagues and, frankly speaking, the people on the Hill it was more actually aimed at telling the Hill people, get as much information as you can, get as much intelligence as you can, before President Obama leaves the administration.

Meanwhile, Fox News also is told that House Intelligence Committee Chairman Devin Nunes knew about unmasking and leaking back in January, well before President Trumps tweet in March alleging wiretapping.

Nunes has faced criticism from Democrats for viewing pertinent documents on White House grounds and announcing their contents to the press. But sources said the intelligence agencies slow-rolled Nunes. He could have seen the logs at other places besides the White House SCIF [secure facility], but it had already been a few weeks. So he went to the White House because he could protect his sources and he could get to the logs.

As the Obama administration left office, it also approved new rules that gave the NSA much broader powers by relaxing the rules about sharing intercepted personal communications and the ability to share those with 16 other intelligence agencies.

Rice is no stranger to controversy. As the U.S. Ambassador to the UN, she appeared on several Sunday news shows to defend the adminstration"s later debunked claim that the Sept. 11, 2012 attacks on a U.S. consulate in Libya was triggered by an Internet video.

Rice also told ABC News in 2014 that Army Sgt. Bowe Bergdahl "served the United States with honor and distinction" and that he "wasn"t simply a hostage; he was an American prisoner of war captured on the battlefield."

Bergdahl is currently facing court-martialon charges of desertion and misbehavior before the enemy for allegedly walking off his post in Afghanistan.

Adam Housley joined Fox News Channel (FNC) in 2001 and currently serves as a Los Angeles-based senior correspondent.

Source: http://www.foxnews.com/politics/2017/04/03/susan-rice-requested-to-unmask-names-trump-transition-officials-sources-say.html


download file now

Read more »