Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Cost Sensitive Classifier Random Forest Java in weka

$
0
0
Cost Sensitive Classifier Random Forest Java in weka. The code also does a re-sampling to the training data in the cross validation.
[code2=java] package wekatest;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import weka.classifiers.CostMatrix;
import weka.classifiers.Evaluation;
import weka.classifiers.meta.CostSensitiveClassifier;

import weka.classifiers.trees.RandomForest;
import weka.core.Instances;
import weka.core.converters.ArffSaver;
import
...

Statistics : Posted by msi_333 • on Wed May 20, 2015 8:25 pm • Replies 1 • Views 3483

Viewing all articles
Browse latest Browse all 36

Trending Articles