This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mekanism.common.registries; | |
import mekanism.api.block.FactoryType; | |
import mekanism.common.MekanismLang; | |
import mekanism.common.config.MekanismConfig; | |
import mekanism.common.content.machines.Machine; | |
import mekanism.common.content.machines.Machine.MachineBuilder; | |
import mekanism.common.tile.TileEntityEnrichmentChamber; | |
public class MekanismMachines { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mekanism.common.content.machines; | |
import java.util.EnumSet; | |
import java.util.Set; | |
import javax.annotation.Nonnull; | |
import mekanism.api.Upgrade; | |
import mekanism.api.block.FactoryType; | |
import mekanism.client.HolidayManager; | |
import mekanism.common.MekanismLang; | |
import mekanism.common.base.ILangEntry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7:01:46 PM: Executing task 'runData'... | |
Starting Gradle Daemon... | |
Gradle Daemon started in 1 s 123 ms | |
> Configure project : | |
New Dep: net.minecraftforge:forge:1.15.2-31.1.16_mapped_snapshot_20200225-1.15.1_at_f057423d6d1b4efd59c94e4238431f8a347afe71 | |
> Task :compileApiJava UP-TO-DATE | |
> Task :processApiResources NO-SOURCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void addCrusherBioFuelRecipes(Consumer<IFinishedRecipe> consumer, String basePath) { | |
//Generate baseline recipes from Composter recipe set | |
for(Entry<net.minecraft.util.IItemProvider> chance : ComposterBlock.CHANCES.object2FloatEntrySet()) { | |
ItemStackToItemStackRecipeBuilder.crushing( | |
ItemStackIngredient.from(chance.getKey().asItem()), | |
MekanismItems.BIO_FUEL.getItemStack(Math.round(chance.getFloatValue()*8)) | |
).addCriterion(Criterion.HAS_CRUSHER) | |
.build(consumer, Mekanism.rl(basePath + chance.getKey().asItem().toString())); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Color; | |
import java.awt.Graphics2D; | |
import java.awt.geom.Rectangle2D; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import assignment4.BasicGridWorld; | |
import assignment4.util.AgentPainter; | |
import assignment4.util.AnalysisAggregator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from numpy import median | |
from scipy.io import arff | |
from scipy.stats import kurtosis, kurtosistest | |
#################### | |
# | |
#Optional: install seaborn through 'pip install seaborn' and uncomment related | |
#code to display the distribution figure | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.lang.reflect.Field; | |
import java.text.DecimalFormat; | |
import java.util.Arrays; | |
import weka.attributeSelection.AttributeSelection; | |
import weka.attributeSelection.InfoGainAttributeEval; | |
import weka.attributeSelection.Ranker; | |
import weka.classifiers.Classifier; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
import java.util.Random; | |
import dist.DiscreteDependencyTree; | |
import dist.DiscretePermutationDistribution; | |
import dist.DiscreteUniformDistribution; | |
import dist.Distribution; | |
import opt.DiscreteChangeOneNeighbor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
import java.util.Random; | |
import dist.DiscreteDependencyTree; | |
import dist.DiscretePermutationDistribution; | |
import dist.DiscreteUniformDistribution; | |
import dist.Distribution; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import func.nn.backprop.BackPropagationNetwork; | |
import func.nn.backprop.BackPropagationNetworkFactory; | |
import opt.OptimizationAlgorithm; | |
import opt.example.NeuralNetworkOptimizationProblem; | |
import opt.ga.StandardGeneticAlgorithm; | |
import shared.DataSet; | |
import shared.Instance; | |
import shared.SumOfSquaresError; | |
import shared.filt.TestTrainSplitFilter; | |
import shared.reader.ArffDataSetReader; |
NewerOlder