144aa65949d84526980d53ad1434d0a6ae9cba27,scattertext/ScatterChart.py,ScatterChart,__init__,#ScatterChart#Any#Any#Any#Any#Any#Any#Any#Any#,18

Before Change


		self.filter_unigrams = filter_unigrams
		self.term_ranker = term_ranker
		self.max_terms = max_terms
		np.random.seed(seed)

	def to_dict(self,
	            category,
	            category_name=None,

After Change


class ScatterChart:
	def __init__(self,
	             term_doc_matrix,
	             minimum_term_frequency=3,
	             jitter=0,
	             seed=0,
	             pmi_threshold_coefficient=3,
	             max_terms=None,
	             filter_unigrams=False,
	             term_ranker=AbsoluteFrequencyRanker,
	             use_non_text_features=False):

		"""

		Parameters
		----------
		term_doc_matrix : TermDocMatrix
			The term doc matrix to use for the scatter chart.
		minimum_term_frequency : int, optional
			Minimum times an ngram has to be seen to be included. Default is 3.
		jitter : float, optional
			Maximum amount of noise to be added to points, 0.2 is a lot. Default is 0.
		seed : float, optional
			Random seed. Default 0
		pmi_threshold_coefficient : int
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: JasonKessler/scattertext
Commit Name: 144aa65949d84526980d53ad1434d0a6ae9cba27
Time: 2017-01-24
Author: jason.kessler@gmail.com
File Name: scattertext/ScatterChart.py
Class Name: ScatterChart
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 5d0cb109496d46edb6359a50893cab07e9f386ba
Time: 2017-02-28
Author: francois.chollet@gmail.com
File Name: examples/mnist_net2net.py
Class Name:
Method Name:


Project Name: mynlp/ccg2lambda
Commit Name: c097844b9a1f6f046f483b99470cf6de4cf83326
Time: 2018-03-21
Author: pasmargo@gmail.com
File Name: scripts/gather_test.py
Class Name:
Method Name: