code stringlengths 114 1.05M | path stringlengths 3 312 | quality_prob float64 0.5 0.99 | learning_prob float64 0.2 1 | filename stringlengths 3 168 | kind stringclasses 1
value |
|---|---|---|---|---|---|
from __future__ import division, print_function, unicode_literals, absolute_import
import xml.etree.ElementTree as ET
import xml.dom.minidom as pxml
import os
import sys
import copy
import numpy as np
class YakInstantLibraryParser():
"""
Class used to parse Yak Instant cross section libraries, read the user prov... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/CodeInterfaceClasses/Rattlesnake/YakInstantLibraryParser.py | 0.451568 | 0.264522 | YakInstantLibraryParser.py | pypi |
from ravenframework.CodeInterfaceBaseClass import CodeInterfaceBase
from .melcorInterface import MelcorApp
from .melgenInterface import MelgenApp
class Melcor(CodeInterfaceBase):
"""
this class is used a part of a code dictionary to specialize Model.Code for MELCOR 2. Version
"""
def __init__(self):
"... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/CodeInterfaceClasses/MELCOR/melcorCombinedInterface.py | 0.590307 | 0.163746 | melcorCombinedInterface.py | pypi |
# External Imports
import numpy as np
import xarray as xr
# Internal Imports
# [MANDD] Note: the fitness function are bounded by 2 parameters: a and b
# We should make this method flexible to accept different set of params
# @profile
def invLinear(rlz,**kwargs):
r"""
Inverse linear fitness method ... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Optimizers/fitness/fitness.py | 0.627723 | 0.859899 | fitness.py | pypi |
import numpy as np
from scipy.special import comb
from itertools import combinations
import xarray as xr
from ...utils import randomUtils
# @profile
def onePointCrossover(parents,**kwargs):
"""
Method designed to perform crossover by swapping chromosome portions before/after specified or sampled location
@ ... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Optimizers/crossOverOperators/crossovers.py | 0.458834 | 0.483892 | crossovers.py | pypi |
import numpy as np
import xarray as xr
from operator import itemgetter
from ...utils import utils, randomUtils
def swapMutator(offSprings, distDict, **kwargs):
"""
This method performs the swap mutator. For each child, two genes are sampled and switched
E.g.:
child=[a,b,c,d,e] --> b and d are selected --... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Optimizers/mutators/mutators.py | 0.452778 | 0.608274 | mutators.py | pypi |
import copy
from ...utils import mathUtils
from .GradientApproximator import GradientApproximator
class CentralDifference(GradientApproximator):
"""
Enables gradient estimation via central differencing
"""
@classmethod
def getInputSpecification(cls):
"""
Method to get a reference to a class that... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Optimizers/gradients/CentralDifference.py | 0.692434 | 0.913754 | CentralDifference.py | pypi |
import numpy as np
from ...utils import randomUtils, mathUtils
from .GradientApproximator import GradientApproximator
class SPSA(GradientApproximator):
"""
Single-point (zeroth-order) gradient approximation.
Note that SPSA is a larger algorithm; this is simply the gradient approximation part of it.
"""
... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Optimizers/gradients/SPSA.py | 0.859634 | 0.913599 | SPSA.py | pypi |
# External Modules----------------------------------------------------------------------------------
from operator import mul
from functools import reduce
import numpy as np
# External Modules End------------------------------------------------------------------------------
# Internal Modules--------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Samplers/SparseGridCollocation.py | 0.657318 | 0.366958 | SparseGridCollocation.py | pypi |
#External Modules------------------------------------------------------------------------------------
import numpy as np
import copy
import abc
#External Modules End--------------------------------------------------------------------------------
#Internal Modules--------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Samplers/MCMC/Metropolis.py | 0.517327 | 0.297333 | Metropolis.py | pypi |
#External Modules------------------------------------------------------------------------------------
import numpy as np
import copy
import abc
from collections import OrderedDict
#External Modules End--------------------------------------------------------------------------------
#Internal Modules--------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Samplers/MCMC/AdaptiveMetropolis.py | 0.499268 | 0.310652 | AdaptiveMetropolis.py | pypi |
#External Modules------------------------------------------------------------------------------------
import numpy as np
import copy
import abc
#External Modules End--------------------------------------------------------------------------------
#Internal Modules--------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/Samplers/MCMC/MCMC.py | 0.687105 | 0.516717 | MCMC.py | pypi |
# External Imports
import numpy as np
# Internal Imports
def nonDominatedFrontier(data, returnMask, minMask=None):
"""
This method is designed to identify the set of non-dominated points (nEfficientPoints)
If returnMask=True, then a True/False mask (isEfficientMask) is returned
Non-dominated points pF... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/utils/frontUtils.py | 0.485112 | 0.72708 | frontUtils.py | pypi |
# External Imports
import matplotlib.pyplot as plt
from matplotlib.path import Path
import matplotlib.patches as patches
import numpy as np
from pandas.plotting import parallel_coordinates
import pandas as pd
def errorFill(x, y, yerr, color=None, alphaFill=0.3, ax=None, logScale=False):
"""
Method designed to dr... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/utils/plotUtils.py | 0.510252 | 0.725964 | plotUtils.py | pypi |
import os
from .. import DataObjects
from .. import Models
from ..BaseClasses import BaseInterface
from ..utils import InputTypes, InputData
class OutStreamInterface(BaseInterface):
"""
Base class for other OutStream Interfaces (Print, Plot).
Not meant to be an interface itself.
"""
@classmethod
def g... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/OutStreamInterface.py | 0.586996 | 0.265466 | OutStreamInterface.py | pypi |
import matplotlib.pyplot as plt
from .PlotInterface import PlotInterface
from ...utils import InputData, InputTypes
class SamplePlot(PlotInterface):
"""
Plots variables as a function of realization; a simple demonstration plotter.
"""
@classmethod
def getInputSpecification(cls):
"""
Method to ge... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PlotInterfaces/SamplePlot.py | 0.830319 | 0.624351 | SamplePlot.py | pypi |
# External Imports
from collections import defaultdict
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.lines import Line2D
# Internal Imports
from ...utils import plotUtils
from .PlotInterface import PlotInterface
from ...utils import InputData, InputTypes
class PopulationPlot(PlotInterface):
"""... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PlotInterfaces/PopulationPlot.py | 0.805135 | 0.503967 | PopulationPlot.py | pypi |
import matplotlib.pyplot as plt
from .PlotInterface import PlotInterface
from ...utils import InputData, InputTypes
class SyntheticCloud(PlotInterface):
"""
Plots the training data along with a cloud of sampled data for synthetic histories.
"""
@classmethod
def getInputSpecification(cls):
"""
Me... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PlotInterfaces/SyntheticCloud.py | 0.688049 | 0.602471 | SyntheticCloud.py | pypi |
# External Imports
from collections import defaultdict
import matplotlib.pyplot as plt
from matplotlib.path import Path
import matplotlib.patches as patches
import numpy as np
import pandas as pd
import imageio
# Internal Imports
from ...utils import plotUtils
from .PlotInterface import PlotInterface
from ...utils imp... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PlotInterfaces/OptParallelCoordinate.py | 0.756268 | 0.436082 | OptParallelCoordinate.py | pypi |
from collections import defaultdict
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from .PlotInterface import PlotInterface
from ...utils import InputData, InputTypes
class OptPath(PlotInterface):
"""
Plots the path that variables took during an optimization, including accepted and rejecte... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PlotInterfaces/OptPath.py | 0.903451 | 0.519156 | OptPath.py | pypi |
import os
from ...utils import InputData, InputTypes
from .PrintInterface import PrintInterface
class FilePrint(PrintInterface):
"""
Class for managing the printing of files as an output stream.
"""
@classmethod
def getInputSpecification(cls):
"""
Method to get a reference to a class that specif... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/OutStreams/PrintInterfaces/FilePrint.py | 0.467575 | 0.212497 | FilePrint.py | pypi |
#Internal Modules------------------------------------------------------------------------------------
from .KerasClassifier import KerasClassifier
#Internal Modules End--------------------------------------------------------------------------------
class KerasMLPClassifier(KerasClassifier):
"""
Multi-layer perce... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/KerasMLPClassifier.py | 0.887342 | 0.49646 | KerasMLPClassifier.py | pypi |
#External Modules------------------------------------------------------------------------------------
import copy
import numpy as np
import random as rn
import matplotlib
import platform
from scipy import stats
import os
from ..utils import importerUtils
tf = importerUtils.importModuleLazyRenamed("tf", globals(), "tens... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/KerasRegression.py | 0.541409 | 0.45532 | KerasRegression.py | pypi |
#External Modules------------------------------------------------------------------------------------
#External Modules End--------------------------------------------------------------------------------
#Internal Modules------------------------------------------------------------------------------------
from ..utils ... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/NDinvDistWeight.py | 0.630002 | 0.487185 | NDinvDistWeight.py | pypi |
from numpy import average
import sys
#External Modules------------------------------------------------------------------------------------
import numpy as np
from collections import OrderedDict
from scipy import spatial
#External Modules End------------------------------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/GaussPolynomialRom.py | 0.583559 | 0.591841 | GaussPolynomialRom.py | pypi |
#External Modules------------------------------------------------------------------------------------
import numpy as np
#External Modules End--------------------------------------------------------------------------------
#Internal Modules-------------------------------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/NDinterpolatorRom.py | 0.604983 | 0.317215 | NDinterpolatorRom.py | pypi |
#Internal Modules------------------------------------------------------------------------------------
from .KerasRegression import KerasRegression
#Internal Modules End--------------------------------------------------------------------------------
class KerasMLPRegression(KerasRegression):
"""
Multi-layer perce... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/KerasMLPRegression.py | 0.886328 | 0.580441 | KerasMLPRegression.py | pypi |
#External Modules------------------------------------------------------------------------------------
import copy
import numpy as np
import random as rn
import matplotlib
import platform
from scipy import stats
import os
from ..utils import importerUtils
tf = importerUtils.importModuleLazyRenamed("tf", globals(), "tens... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/KerasClassifier.py | 0.585575 | 0.481698 | KerasClassifier.py | pypi |
#External Modules------------------------------------------------------------------------------------
import numpy as np
#External Modules End--------------------------------------------------------------------------------
#Internal Modules-------------------------------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/PolyExponential.py | 0.672439 | 0.827619 | PolyExponential.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
from ...utils.importerUtils import importModuleLazy
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules----------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/ScikitLearnBase.py | 0.613468 | 0.245995 | ScikitLearnBase.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/DiscriminantAnalysis/LinearDiscriminantAnalysis.py | 0.868297 | 0.456168 | LinearDiscriminantAnalysis.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
from ....utils.importerUtils import importModuleLazy
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules---------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/SVR.py | 0.760917 | 0.340718 | SVR.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/SVC.py | 0.791741 | 0.361785 | SVC.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/NuSVC.py | 0.770896 | 0.36574 | NuSVC.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/LinearSVR.py | 0.863147 | 0.438665 | LinearSVR.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/NuSVR.py | 0.785432 | 0.364099 | NuSVR.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/SVM/LinearSVC.py | 0.858793 | 0.429549 | LinearSVC.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NaiveBayes/GaussianNBClassifier.py | 0.750004 | 0.499146 | GaussianNBClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NaiveBayes/ComplementNBClassifier.py | 0.765243 | 0.326835 | ComplementNBClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NaiveBayes/CategoricalNBClassifier.py | 0.735262 | 0.329999 | CategoricalNBClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NaiveBayes/BernoulliNBClassifier.py | 0.827166 | 0.461563 | BernoulliNBClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NaiveBayes/MultinomialNBClassifier.py | 0.828315 | 0.753036 | MultinomialNBClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Tree/DecisionTreeRegressor.py | 0.804521 | 0.457621 | DecisionTreeRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Tree/DecisionTreeClassifier.py | 0.795022 | 0.421254 | DecisionTreeClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Tree/ExtraTreeRegressor.py | 0.818483 | 0.473901 | ExtraTreeRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Tree/ExtraTreeClassifier.py | 0.801975 | 0.431464 | ExtraTreeClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Neighbors/KNeighborsRegressor.py | 0.775605 | 0.435661 | KNeighborsRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Neighbors/NearestCentroidClassifier.py | 0.813164 | 0.378344 | NearestCentroidClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Neighbors/RadiusNeighborsClassifier.py | 0.809502 | 0.464476 | RadiusNeighborsClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Neighbors/RadiusNeighborsRegressor.py | 0.78964 | 0.462959 | RadiusNeighborsRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Neighbors/KNeighborsClassifier.py | 0.784649 | 0.42662 | KNeighborsClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NeuralNetwork/MLPClassifier.py | 0.804252 | 0.496155 | MLPClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/NeuralNetwork/MLPRegressor.py | 0.788013 | 0.419053 | MLPRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Ensemble/AdaBoostRegressor.py | 0.76708 | 0.418459 | AdaBoostRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Ensemble/BaggingRegressor.py | 0.788257 | 0.514095 | BaggingRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Ensemble/StackingRegressor.py | 0.70253 | 0.369628 | StackingRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/Ensemble/VotingRegressor.py | 0.709422 | 0.356475 | VotingRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/ElasticNetCV.py | 0.821617 | 0.437343 | ElasticNetCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/MultiTaskElasticNetCV.py | 0.762689 | 0.36108 | MultiTaskElasticNetCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/MultiTaskLassoCV.py | 0.804943 | 0.393356 | MultiTaskLassoCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/MultiTaskLasso.py | 0.797083 | 0.385548 | MultiTaskLasso.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/RidgeCV.py | 0.853638 | 0.40116 | RidgeCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
from numpy import finfo
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules--------------------------------------------------------------------------... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LassoLarsCV.py | 0.833053 | 0.423756 | LassoLarsCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/BayesianRidge.py | 0.799599 | 0.732377 | BayesianRidge.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/RidgeClassifierCV.py | 0.845273 | 0.406273 | RidgeClassifierCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/Ridge.py | 0.806738 | 0.413448 | Ridge.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LassoLarsIC.py | 0.852568 | 0.444866 | LassoLarsIC.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/MultiTaskElasticNet.py | 0.767777 | 0.368803 | MultiTaskElasticNet.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/PassiveAggressiveClassifier.py | 0.805632 | 0.405596 | PassiveAggressiveClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LinearRegression.py | 0.771198 | 0.337176 | LinearRegression.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/OrthogonalMatchingPursuit.py | 0.808861 | 0.539893 | OrthogonalMatchingPursuit.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LarsCV.py | 0.830834 | 0.456773 | LarsCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/ElasticNet.py | 0.775477 | 0.391377 | ElasticNet.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/PassiveAggressiveRegressor.py | 0.810028 | 0.442998 | PassiveAggressiveRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LassoLars.py | 0.817064 | 0.420243 | LassoLars.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/RidgeClassifier.py | 0.831109 | 0.430506 | RidgeClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
from numpy im... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/Lars.py | 0.829423 | 0.435902 | Lars.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/SGDRegressor.py | 0.82251 | 0.492615 | SGDRegressor.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/OrthogonalMatchingPursuitCV.py | 0.822973 | 0.55929 | OrthogonalMatchingPursuitCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LassoCV.py | 0.810028 | 0.422326 | LassoCV.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/SGDClassifier.py | 0.812198 | 0.501465 | SGDClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/ARDRegression.py | 0.817756 | 0.451024 | ARDRegression.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/Perceptron.py | 0.799873 | 0.402803 | Perceptron.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/LogisticRegression.py | 0.802091 | 0.439687 | LogisticRegression.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/LinearModel/Lasso.py | 0.814938 | 0.42322 | Lasso.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/GaussianProcess/GaussianProcessClassifier.py | 0.821582 | 0.833799 | GaussianProcessClassifier.py | pypi |
#Internal Modules (Lazy Importer)--------------------------------------------------------------------
#Internal Modules (Lazy Importer) End----------------------------------------------------------------
#External Modules------------------------------------------------------------------------------------
#External Mod... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/ScikitLearn/GaussianProcess/GaussianProcessRegressor.py | 0.802478 | 0.814164 | GaussianProcessRegressor.py | pypi |
#External Modules------------------------------------------------------------------------------------
import copy
#External Modules End--------------------------------------------------------------------------------
#Internal Modules------------------------------------------------------------------------------------
f... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/ravenframework/SupervisedLearning/FeatureSelection/utils.py | 0.542379 | 0.218899 | utils.py | pypi |
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _amsc
else:
import _amsc
try:
import builtins as __builtin__
exce... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/AMSC/amsc.py | 0.549641 | 0.163279 | amsc.py | pypi |
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _distribution1D
else:
import _distribution1D
try:
import builtins... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/crow_modules/distribution1D.py | 0.561455 | 0.16637 | distribution1D.py | pypi |
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _interpolationND
else:
import _interpolationND
try:
import builti... | /raven_framework-2.3-cp39-cp39-win_amd64.whl/crow_modules/interpolationND.py | 0.541166 | 0.154089 | interpolationND.py | pypi |
from typing import Iterable, List, Optional, Tuple
from enum import Enum, auto
from dataclasses import dataclass, field
import copy
import numpy as np
from .attribute import AttributeType, COLOR_MIN, COLOR_MAX
from .component import Component, ComponentType, LayoutType
class RuleType(Enum):
CONSTANT = auto()
... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/rule.py | 0.705278 | 0.180359 | rule.py | pypi |
from typing import Union
from dataclasses import dataclass, field
import cv2
import numpy as np
from .attribute import (Shape, Size, Color, Angle, Shapes, PlanarPosition,
AngularPosition)
@dataclass
class Point:
x: Union[int, float]
y: Union[int, float]
def __iter__(self):
... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/entity.py | 0.882952 | 0.474509 | entity.py | pypi |
from typing import Optional
import copy
from .attribute import AttributeType
from .component import Component
from .rule import Rules, RuleType
class Panel:
def __init__(self,
component_1: Component,
component_2: Optional[Component] = None):
self.component_1 = componen... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/panel.py | 0.830766 | 0.247373 | panel.py | pypi |
from typing import List
from enum import Enum, auto
import copy, os, math
import numpy as np
from scipy.special import comb
from PIL import Image
from .component import make_component, ComponentType, LayoutType, AttributeHistory
from .panel import Panel, prune
from . import attribute
from .attribute import AttributeT... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/matrix.py | 0.69181 | 0.207335 | matrix.py | pypi |
from __future__ import annotations
import copy
from dataclasses import dataclass, field
from typing import List, Union, Dict, Set
from enum import Enum, auto
import numpy as np
from scipy.special import comb
from .attribute import (AttributeType, Uniformity, Configuration, PositionType,
Angula... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/component.py | 0.855881 | 0.227469 | component.py | pypi |
from typing import Union
from dataclasses import dataclass
from enum import Enum, auto
import numpy as np
NUM_VALUES = (1, 2, 3, 4, 5, 6, 7, 8, 9)
NUM_MIN = 0
NUM_MAX = len(NUM_VALUES) - 1
UNI_VALUES = (False, False, False, True)
UNI_MIN = 0
UNI_MAX = len(UNI_VALUES) - 1
class Shapes(Enum):
NONE = auto()
T... | /raven_gen-0.3.2-py3-none-any.whl/raven_gen/attribute.py | 0.836655 | 0.211702 | attribute.py | pypi |
from __future__ import absolute_import
import re
from raven.utils import varmap
from raven.utils import six
class Processor(object):
def __init__(self, client):
self.client = client
def get_data(self, data, **kwargs):
return
def process(self, data, **kwargs):
resp = self.get_da... | /raven-pozytywnie-5.0.0.1.tar.gz/raven-pozytywnie-5.0.0.1/raven/processors.py | 0.594316 | 0.335596 | processors.py | pypi |
from __future__ import absolute_import
from raven.utils import six
from raven.utils.compat import urllib_quote
# `get_headers` comes from `werkzeug.datastructures.EnvironHeaders`
def get_headers(environ):
"""
Returns only proper HTTP headers.
"""
for key, value in six.iteritems(environ):
key ... | /raven-pozytywnie-5.0.0.1.tar.gz/raven-pozytywnie-5.0.0.1/raven/utils/wsgi.py | 0.739705 | 0.150871 | wsgi.py | pypi |
import numpy as np
import raven.struct.dataframe.core as dataframe
import raven.struct.dataframe.column as column
import raven.struct.dataframe._columnutils as utils
class ShortColumn(column.Column):
"""A Column holding short values (int16).
This implementation DOES NOT support null values.
"""
TYPE_... | /raven_pydf-1.1.4-py3-none-any.whl/raven/struct/dataframe/shortcolumn.py | 0.744006 | 0.515803 | shortcolumn.py | pypi |
import numpy as np
import raven.struct.dataframe.core as dataframe
import raven.struct.dataframe.column as column
import raven.struct.dataframe._columnutils as utils
class IntColumn(column.Column):
"""A Column holding int values (int32).
This implementation DOES NOT support null values.
"""
TYPE_CODE... | /raven_pydf-1.1.4-py3-none-any.whl/raven/struct/dataframe/intcolumn.py | 0.721154 | 0.502441 | intcolumn.py | pypi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.