analysistoolbox 2.2.83__tar.gz → 2.2.85__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/PKG-INFO +1 -1
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/__init__.py +52 -40
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/PKG-INFO +1 -1
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/setup.py +1 -1
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/LICENSE.md +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/README.md +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindDerivative.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindLimitOfFunction.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindMinimumSquareLoss.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/PlotFunction.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/ExtractTextFromPDF.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/FetchPDFFromURL.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/FetchUSShapefile.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/FetchWebsiteText.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/GetCompanyFilings.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/GetGoogleSearchResults.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/GetZipFile.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddDateNumberColumns.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddLeadingZeros.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddRowCountColumn.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddTPeriodColumn.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddTukeyOutlierColumn.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CleanTextColumns.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/ConductAnomalyDetection.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/ConductEntityMatching.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/ConvertOddsToProbability.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CountMissingDataByGroup.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CreateBinnedColumn.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CreateDataOverview.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CreateRandomSampleGroups.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CreateRareCategoryColumn.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/CreateStratifiedRandomSampleGroups.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/GeocodeUSAddresses.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/ImputeMissingValuesUsingNearestNeighbors.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/VerifyGranularity.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/ConductManifoldLearning.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/ConductPrincipalComponentAnalysis.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/ConductPropensityScoreMatching.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/CreateAssociationRules.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/CreateGaussianMixtureClusters.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/CreateHierarchicalClusters.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/CreateKMeansClusters.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/GenerateEDAWithLIDA.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/ConvertWordDocsToPDF.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/CreateCopyOfPDF.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/CreateFileTree.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/ImportDataFromFolder.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ChiSquareTestOfIndependence.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ChiSquareTestOfIndependenceFromTable.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ConductCoxProportionalHazardRegression.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ConductLinearRegressionAnalysis.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ConductLogisticRegressionAnalysis.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/ConductSurvivalAnalysis.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/OneSampleTTest.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/OneWayANOVA.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/TTestOfMeanFromStats.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/TTestOfProportionFromStats.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/TTestOfTwoMeansFromStats.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/TwoSampleTTestOfIndependence.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/TwoSampleTTestPaired.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/CalculateEigenvalues.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/ConvertMatrixToRowEchelonForm.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/ConvertSystemOfEquationsToMatrix.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/PlotVectors.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/SolveSystemOfEquations.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/VisualizeMatrixAsLinearTransformation.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/llm/SendPromptToAnthropic.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/llm/SendPromptToChatGPT.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/llm/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateARIMAModel.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateBoostedTreeModel.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateDecisionTreeModel.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateLinearRegressionModel.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateLogisticRegressionModel.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/CreateNeuralNetwork_SingleOutcome.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/prescriptive_analytics/CreateContentBasedRecommender.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/prescriptive_analytics/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/probability/ProbabilityOfAtLeastOne.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/probability/ProbabilityOfHypothesisGivenData.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/probability/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateCorrelatedSIPs.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateMetalogDistribution.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateMetalogDistributionFromPercentiles.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateSIPDataframe.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateSLURPDistribution.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateCountOfSuccesses.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateCountOutcome.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateCountUntilFirstSuccess.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateNormallyDistributedOutcome.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateTDistributedOutcome.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateTimeBetweenEvents.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/SimulateTimeUntilNEvents.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/a_vector.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/class_method.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/metalog.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/pdf_quantile_functions.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/support.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/statistics/CalculateConfidenceIntervalOfMean.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/statistics/CalculateConfidenceIntervalOfProportion.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/statistics/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/Plot100PercentStackedBarChart.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotBarChart.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotBoxWhiskerByGroup.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotBulletChart.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotCard.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotClusteredBarChart.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotContingencyHeatmap.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotCorrelationMatrix.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotDensityByGroup.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotDotPlot.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotHeatmap.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotOverlappingAreaChart.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotRiskTolerance.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotScatterplot.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotSingleVariableCountPlot.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotSingleVariableHistogram.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotTimeSeries.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/RenderTableOne.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/__init__.py +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/SOURCES.txt +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/dependency_links.txt +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/requires.txt +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/top_level.txt +0 -0
- {analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: analysistoolbox
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.85
|
|
4
4
|
Summary: A collection tools in Python for data collection and processing, statistics, analytics, and intelligence analysis.
|
|
5
5
|
Home-page: https://github.com/KyleProtho/AnalysisToolBox/tree/master/analysistoolbox
|
|
6
6
|
Author: Kyle Protho
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/__init__.py
RENAMED
|
@@ -3,7 +3,7 @@ from .class_method import rmetalog, plot, qmetalog, pmetalog, dmetalog, summary,
|
|
|
3
3
|
|
|
4
4
|
# Create a pymetalog module that can be imported
|
|
5
5
|
class pymetalog:
|
|
6
|
-
def __init__(self, x=None, bounds=[0,1], boundedness='u', term_limit=13, term_lower_bound=2, step_len=0.01, probs=None, fit_method='any', penalty=None, alpha=0.0, new_data=None,
|
|
6
|
+
def __init__(self, x=None, bounds=[0,1], boundedness='u', term_limit=13, term_lower_bound=2, step_len=0.01, probs=None, fit_method='any', penalty=None, alpha=0.0, new_data=None, n=1, generator='rand', term=2):
|
|
7
7
|
self.x = x
|
|
8
8
|
self.bounds = bounds
|
|
9
9
|
self.boundedness = boundedness
|
|
@@ -15,117 +15,129 @@ class pymetalog:
|
|
|
15
15
|
self.penalty = penalty
|
|
16
16
|
self.alpha = alpha
|
|
17
17
|
self.new_data = new_data
|
|
18
|
-
self.
|
|
19
|
-
self.
|
|
20
|
-
self.
|
|
18
|
+
self.n = n
|
|
19
|
+
self.generator = generator
|
|
20
|
+
self.term = term
|
|
21
21
|
self.my_metalog = None
|
|
22
22
|
|
|
23
|
-
def metalog(self, x=
|
|
23
|
+
def metalog(self, x=None, bounds=None, boundedness=None, term_limit=None, term_lower_bound=None, step_len=None, probs=None, fit_method=None, penalty=None, alpha=None):
|
|
24
24
|
"""
|
|
25
25
|
Fit a metalog distribution to the data
|
|
26
26
|
"""
|
|
27
27
|
if self.my_metalog is None:
|
|
28
|
-
|
|
28
|
+
# Use provided parameters or fall back to instance variables
|
|
29
|
+
x_val = x if x is not None else self.x
|
|
30
|
+
bounds_val = bounds if bounds is not None else self.bounds
|
|
31
|
+
boundedness_val = boundedness if boundedness is not None else self.boundedness
|
|
32
|
+
term_limit_val = term_limit if term_limit is not None else self.term_limit
|
|
33
|
+
term_lower_bound_val = term_lower_bound if term_lower_bound is not None else self.term_lower_bound
|
|
34
|
+
step_len_val = step_len if step_len is not None else self.step_len
|
|
35
|
+
probs_val = probs if probs is not None else self.probs
|
|
36
|
+
fit_method_val = fit_method if fit_method is not None else self.fit_method
|
|
37
|
+
penalty_val = penalty if penalty is not None else self.penalty
|
|
38
|
+
alpha_val = alpha if alpha is not None else self.alpha
|
|
39
|
+
|
|
40
|
+
self.my_metalog = metalog(x_val, bounds_val, boundedness_val, term_limit_val, term_lower_bound_val, step_len_val, probs_val, fit_method_val, penalty_val, alpha_val)
|
|
29
41
|
return self.my_metalog
|
|
30
42
|
|
|
31
|
-
def rmetalog(self,
|
|
43
|
+
def rmetalog(self, m=None, n=1, term=2, generator='rand'):
|
|
32
44
|
"""
|
|
33
45
|
Take random draws from the metalog distribution
|
|
34
46
|
|
|
35
47
|
Parameters:
|
|
36
48
|
-----------
|
|
37
|
-
|
|
49
|
+
m : object, optional
|
|
38
50
|
A metalog object. If None, uses the class's metalog object
|
|
39
|
-
|
|
51
|
+
n : int, default=1
|
|
40
52
|
Number of random draws to take
|
|
41
|
-
|
|
53
|
+
term : int, default=2
|
|
42
54
|
Term to use for the metalog distribution
|
|
43
|
-
|
|
55
|
+
generator : str, default='rand'
|
|
44
56
|
Random number generator to use
|
|
45
57
|
"""
|
|
46
58
|
# Use the provided metalog object or the class's metalog object
|
|
47
|
-
|
|
48
|
-
return rmetalog(
|
|
59
|
+
m = m if m is not None else self.metalog()
|
|
60
|
+
return rmetalog(m, n=n, term=term, generator=generator)
|
|
49
61
|
|
|
50
|
-
# def plot(self,
|
|
62
|
+
# def plot(self, m=None):
|
|
51
63
|
# """
|
|
52
64
|
# Plot the metalog distribution
|
|
53
65
|
|
|
54
66
|
# Parameters:
|
|
55
67
|
# -----------
|
|
56
|
-
#
|
|
68
|
+
# m : object, optional
|
|
57
69
|
# A metalog object. If None, uses the class's metalog object
|
|
58
70
|
# """
|
|
59
|
-
#
|
|
60
|
-
# return plot(
|
|
71
|
+
# m = m if m is not None else self.metalog()
|
|
72
|
+
# return plot(m)
|
|
61
73
|
|
|
62
|
-
def qmetalog(self,
|
|
74
|
+
def qmetalog(self, m=None, y=None, term=2):
|
|
63
75
|
"""
|
|
64
76
|
Calculate the quantile of the metalog distribution
|
|
65
77
|
|
|
66
78
|
Parameters:
|
|
67
79
|
-----------
|
|
68
|
-
|
|
80
|
+
m : object, optional
|
|
69
81
|
A metalog object. If None, uses the class's metalog object
|
|
70
82
|
y : list or float
|
|
71
83
|
Probability values to calculate quantiles for
|
|
72
|
-
|
|
84
|
+
term : int, default=2
|
|
73
85
|
Term to use for the metalog distribution
|
|
74
86
|
"""
|
|
75
|
-
|
|
76
|
-
return qmetalog(
|
|
87
|
+
m = m if m is not None else self.metalog()
|
|
88
|
+
return qmetalog(m, y=y, term=term)
|
|
77
89
|
|
|
78
|
-
def pmetalog(self,
|
|
90
|
+
def pmetalog(self, m=None, q=None, term=2):
|
|
79
91
|
"""
|
|
80
92
|
Calculate the probability of the metalog distribution
|
|
81
93
|
|
|
82
94
|
Parameters:
|
|
83
95
|
-----------
|
|
84
|
-
|
|
96
|
+
m : object, optional
|
|
85
97
|
A metalog object. If None, uses the class's metalog object
|
|
86
98
|
q : list or float
|
|
87
99
|
Quantile values to calculate probabilities for
|
|
88
|
-
|
|
100
|
+
term : int, default=2
|
|
89
101
|
Term to use for the metalog distribution
|
|
90
102
|
"""
|
|
91
|
-
|
|
92
|
-
return pmetalog(
|
|
103
|
+
m = m if m is not None else self.metalog()
|
|
104
|
+
return pmetalog(m, q=q, term=term)
|
|
93
105
|
|
|
94
|
-
def dmetalog(self,
|
|
106
|
+
def dmetalog(self, m=None, q=None, term=2):
|
|
95
107
|
"""
|
|
96
108
|
Calculate the density of the metalog distribution
|
|
97
109
|
|
|
98
110
|
Parameters:
|
|
99
111
|
-----------
|
|
100
|
-
|
|
112
|
+
m : object, optional
|
|
101
113
|
A metalog object. If None, uses the class's metalog object
|
|
102
114
|
q : list or float
|
|
103
115
|
Quantile values to calculate densities for
|
|
104
|
-
|
|
116
|
+
term : int, default=2
|
|
105
117
|
Term to use for the metalog distribution
|
|
106
118
|
"""
|
|
107
|
-
|
|
108
|
-
return dmetalog(
|
|
119
|
+
m = m if m is not None else self.metalog()
|
|
120
|
+
return dmetalog(m, q=q, term=term)
|
|
109
121
|
|
|
110
|
-
def summary(self,
|
|
122
|
+
def summary(self, m=None):
|
|
111
123
|
"""
|
|
112
124
|
Return a summary of the metalog distribution
|
|
113
125
|
|
|
114
126
|
Parameters:
|
|
115
127
|
-----------
|
|
116
|
-
|
|
128
|
+
m : object, optional
|
|
117
129
|
A metalog object. If None, uses the class's metalog object
|
|
118
130
|
"""
|
|
119
|
-
|
|
120
|
-
return summary(
|
|
131
|
+
m = m if m is not None else self.metalog()
|
|
132
|
+
return summary(m)
|
|
121
133
|
|
|
122
|
-
# def update(self,
|
|
134
|
+
# def update(self, m=None, new_data=None, penalty=None, alpha=0.0):
|
|
123
135
|
# """
|
|
124
136
|
# Update the metalog distribution with new data
|
|
125
137
|
|
|
126
138
|
# Parameters:
|
|
127
139
|
# -----------
|
|
128
|
-
#
|
|
140
|
+
# m : object, optional
|
|
129
141
|
# A metalog object. If None, uses the class's metalog object
|
|
130
142
|
# new_data : list or array
|
|
131
143
|
# New data to update the distribution with
|
|
@@ -134,5 +146,5 @@ class pymetalog:
|
|
|
134
146
|
# alpha : float, default=0.0
|
|
135
147
|
# Alpha parameter for the update
|
|
136
148
|
# """
|
|
137
|
-
#
|
|
138
|
-
# return update(
|
|
149
|
+
# m = m if m is not None else self.metalog()
|
|
150
|
+
# return update(m, new_data=new_data, penalty=penalty, alpha=alpha)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: analysistoolbox
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.85
|
|
4
4
|
Summary: A collection tools in Python for data collection and processing, statistics, analytics, and intelligence analysis.
|
|
5
5
|
Home-page: https://github.com/KyleProtho/AnalysisToolBox/tree/master/analysistoolbox
|
|
6
6
|
Author: Kyle Protho
|
|
@@ -12,7 +12,7 @@ setup(
|
|
|
12
12
|
long_description=long_description,
|
|
13
13
|
long_description_content_type='text/markdown',
|
|
14
14
|
url="https://github.com/KyleProtho/AnalysisToolBox/tree/master/analysistoolbox",
|
|
15
|
-
version='2.2.
|
|
15
|
+
version='2.2.85',
|
|
16
16
|
author='Kyle Protho',
|
|
17
17
|
author_email='kyletprotho@gmail.com',
|
|
18
18
|
license='MIT',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindDerivative.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindLimitOfFunction.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/calculus/FindMinimumSquareLoss.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/FetchPDFFromURL.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/GetZipFile.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_collection/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/AddLeadingZeros.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/data_processing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/descriptive_analytics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/CreateCopyOfPDF.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/CreateFileTree.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/file_management/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/OneWayANOVA.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/hypothesis_testing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/PlotVectors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/linear_algebra/__init__.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/llm/SendPromptToAnthropic.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/llm/SendPromptToChatGPT.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/predictive_analytics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/prescriptive_analytics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/CreateSIPDataframe.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/a_vector.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/metalog.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/simulations/pymetalog/support.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotBarChart.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotBulletChart.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotCard.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotDotPlot.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotHeatmap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotScatterplot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/PlotTimeSeries.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/RenderTableOne.py
RENAMED
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox/visualizations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{analysistoolbox-2.2.83 → analysistoolbox-2.2.85}/analysistoolbox.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|