Questions tagged [svc]

This tag is ambiguous. Consider using the video-encoding tag for Scalable Video Coding, or the wcf and/or iis tags for the Microsoft file extension.

This tag is ambiguous. Consider using for Scalable Video Coding, and/or for the Microsoft file extension, or for the machine learning model

SVC can refer to:

  • Scalable Video Coding, a video compression standard used by H.264/MPEG-4 AVC.

  • The .svc file extension used by Microsoft's Internet Information Services to represent a service host instance.

  • A common abbreviation for the supervisor mode of a processor.

  • Support Vector Classifier, a machine learning model (with a common implementation in scikit-learn).

225 questions
94
votes
15 answers

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel

I'm running my Web Project in IIS. It is a 4.0 Framework APP. I have a Service.svc and I get this error when I run my Application. "Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel,…
Nicolas Gago
  • 1,039
  • 1
  • 8
  • 14
34
votes
2 answers

How do I add a .svc file in Visual Studio

I have a file with an .svc extension. First question is what is a .svc file? The second question is how do I create one of these from the Visual Studio add item menu? I've tried all the most obvious options but none of them create a .svc file.
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304
24
votes
5 answers

Scikit learn SVC predict probability doesn't work as expected

I built sentiment analyzer using SVM classifier. I trained model with probability=True and it can give me probability. But when I pickled my model and load it again later, the probability doesn't work anymore. The model: from sklearn.svm import SVC,…
KevinOelen
  • 749
  • 2
  • 10
  • 24
21
votes
3 answers

Is there a quicker way of running GridsearchCV

I'm optimizing some paramters for an SVC in sklearn, and the biggest issue here is having to wait 30 minutes before I try out any other parameter ranges. Worse is the fact that I'd like to try more values for c and gamma within the same range (so I…
bidby
  • 708
  • 1
  • 10
  • 24
20
votes
2 answers

Skip forbidden parameter combinations when using GridSearchCV

I want to greedily search the entire parameter space of my support vector classifier using GridSearchCV. However, some combinations of parameters are forbidden by LinearSVC and throw an exception. In particular, there are mutually exclusive…
crypdick
  • 16,152
  • 7
  • 51
  • 74
17
votes
3 answers

High memory usage by process 'microsoft.vshub.server.httphostx64.exe' while using Visual Studio 2015

The mentioned process has extremely high memory usage. Just after Visual Studio Update 3 I experienced the same issue and read that it was due to a memory leak within the application that hasn't yet been resolved. That time, the memory used sat at…
14
votes
2 answers

Nu is infeasible

I am using the NuSVC class in sklearn. After trying to instantiate an NuSVC object as follows: self.classifier = OneVsRestClassifier(NuSVC()) I found that I repeatedly get a 'specified nu is infeasible' error. I tried varying the 'nu' parameter…
MEric
  • 946
  • 3
  • 12
  • 30
14
votes
6 answers

How to calculate GOP size of a file H264

I have a h264 file that extract from YUV format using SVC software. Now, I want to caculate size of each GOP in the h264 file. We know that size of GOP is the distance between two nearest I frame. here. Could you suggest to me how to cacluate the…
user3677103
  • 195
  • 2
  • 3
  • 11
12
votes
1 answer

Python : How to find Accuracy Result in SVM Text Classifier Algorithm for Multilabel Class

I have used following set of code: And I need to check accuracy of X_train and X_test The following code works for me in my classification problem over multi-labeled class import numpy as np from sklearn.pipeline import Pipeline from…
user_az
  • 363
  • 2
  • 3
  • 17
10
votes
3 answers

How to plot SVM decision boundary in sklearn Python?

Using SVM with sklearn library, I would like to plot the data with each labels representing its color. I don't want to color the points but filling area with colors. I have now : d_pred, d_train_std, d_test_std, l_train, l_test d_pred are the…
anthonya
  • 565
  • 2
  • 6
  • 15
9
votes
1 answer

How to use SHAP with a linear SVC model from sklearn using Pipeline?

I am doing text classification using a linear SVC model from sklearn. Now I want to visualize which words/tokens have the highest impact on the classification decision by using SHAP (https://github.com/slundberg/shap). Right now this does not work…
translater
  • 101
  • 1
  • 5
9
votes
3 answers

@ServiceHost Debug="true" - performance penalty?

Is there a performance penalty of setting Debug="true" in the svc file? Is it significant enough to warrant setting it to "false" in a production environment? %@ ServiceHost Language="C#" **Debug="true"** Service="AwesomeService" %> Thanks
Pking
  • 953
  • 1
  • 14
  • 33
8
votes
3 answers

plot_decision_regions with error "Filler values must be provided when X has more than 2 training features."

I am plotting 2D plot for SVC Bernoulli output. converted to vectors from Avg word2vec and standerdised data split data to train and test. Through grid search found the best C and gamma(rbf) clf =…
Ramakrishna B
  • 81
  • 1
  • 1
  • 3
8
votes
1 answer

In SVC from Sklearn, why is the training time not strictly linear to maximum iteration when label size is big?

I have doing an analysis trying to see the relation between training time and maximum iteration in SVC. The data I use is some randomly generated number and I plotted the training time against max_iter of SVC fit. I checked logs and each binary…
Richie F.
  • 104
  • 1
  • 9
8
votes
1 answer

scikit learn svc coef0 parameter range

Documentation here. I'm wondering how important the coef0 parameter is for SVCs under the polynomial and sigmoid kernels. As I understand it, it is the intercept term, just a constant as in linear regression to offset the function from zero.…
lollercoaster
  • 15,969
  • 35
  • 115
  • 173
1
2 3
14 15